Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009031/0.0009031, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9736/0.9736, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.003/2.003, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.055e-06/3.055e-06, allocations: 0 / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.984e-05, allocations: 2.281 kB / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI): time 0.002982/0.003012, allocations: 1.2 MB / 1.002 GB, free: 12.31 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001635/0.004646, allocations: 1.03 MB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.004805, allocations: 4 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 8.488e-05/0.00489, allocations: 31.59 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.005058, allocations: 35.59 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.005268, allocations: 119.9 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003748/0.005642, allocations: 352.3 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003409/0.005983, allocations: 158.5 kB / 1.004 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002799/0.006263, allocations: 203.6 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.006416, allocations: 103.7 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 6.192e-05/0.006478, allocations: 47.94 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.717e-05/0.006525, allocations: 48 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.078e-05/0.006596, allocations: 79.75 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.006703, allocations: 99.8 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005284/0.007231, allocations: 0.5567 MB / 1.005 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.007234, allocations: 0 / 1.005 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.834e-06/0.007236, allocations: 0 / 1.005 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.607e-06/0.007245, allocations: 0 / 1.005 GB, free: 9.449 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008421/0.008087, allocations: 0.5017 MB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.008133, allocations: 9.344 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.346e-05/0.008217, allocations: 74.66 kB / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.289e-05/0.008279, allocations: 40.64 kB / 1.005 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.008586, allocations: 206 kB / 1.005 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.008613, allocations: 25.03 kB / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.008652, allocations: 32.38 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006469/0.009298, allocations: 310.6 kB / 1.006 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.009314, allocations: 192 / 1.006 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.009345, allocations: 12.38 kB / 1.006 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.009359, allocations: 12.12 kB / 1.006 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006577/0.01002, allocations: 286.4 kB / 1.006 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.01142, allocations: 0.7574 MB / 1.007 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007298/0.01215, allocations: 257.4 kB / 1.007 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/0.01248, allocations: 124.8 kB / 1.007 GB, free: 6.703 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.01251, allocations: 4 kB / 1.007 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.01254, allocations: 38.98 kB / 1.007 GB, free: 6.652 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=25): time 2.986e-06/0.01255, allocations: 4 kB / 1.007 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of matching and sorting (n=25): time 0.0009835/0.01353, allocations: 365.2 kB / 1.008 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/0.01358, allocations: 55.41 kB / 1.008 GB, free: 6.219 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.01373, allocations: 136.1 kB / 1.008 GB, free: 6.078 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.01376, allocations: 37.7 kB / 1.008 GB, free: 6.035 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.01388, allocations: 172.5 kB / 1.008 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.093e-05/0.01395, allocations: 79.28 kB / 1.008 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.977e-05/0.01404, allocations: 45.94 kB / 1.008 GB, free: 5.73 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.01418, allocations: 330.8 kB / 1.008 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.01444, allocations: 92.39 kB / 1.008 GB, free: 5.309 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/0.01472, allocations: 131.4 kB / 1.009 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000551/0.01527, allocations: 232.4 kB / 1.009 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.01528, allocations: 0 / 1.009 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006225/0.0159, allocations: 284.2 kB / 1.009 GB, free: 4.656 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.01592, allocations: 4 kB / 1.009 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.01593, allocations: 7.938 kB / 1.009 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.01594, allocations: 0 / 1.009 GB, free: 4.645 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.01622, allocations: 71.89 kB / 1.009 GB, free: 4.574 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.01623, allocations: 0 / 1.009 GB, free: 4.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.01636, allocations: 39.8 kB / 1.009 GB, free: 4.535 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.01638, allocations: 8 kB / 1.009 GB, free: 4.527 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.01652, allocations: 145.8 kB / 1.009 GB, free: 4.375 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.01656, allocations: 11.91 kB / 1.009 GB, free: 4.363 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.438e-05/0.01661, allocations: 33.2 kB / 1.009 GB, free: 4.332 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.01661, allocations: 4 kB / 1.009 GB, free: 4.328 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.01662, allocations: 0 / 1.009 GB, free: 4.328 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.01662, allocations: 4 kB / 1.009 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003658/0.01699, allocations: 288.5 kB / 1.01 GB, free: 4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.01699, allocations: 0 / 1.01 GB, free: 4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/0.01724, allocations: 55.95 kB / 1.01 GB, free: 3.945 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.01724, allocations: 0 / 1.01 GB, free: 3.945 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.01726, allocations: 4 kB / 1.01 GB, free: 3.941 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.01726, allocations: 4 kB / 1.01 GB, free: 3.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.01726, allocations: 3.984 kB / 1.01 GB, free: 3.934 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006473/0.01791, allocations: 372.7 kB / 1.01 GB, free: 3.555 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.01793, allocations: 15.84 kB / 1.01 GB, free: 3.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.01796, allocations: 8 kB / 1.01 GB, free: 3.531 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.01811, allocations: 23.97 kB / 1.01 GB, free: 3.508 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.199e-05/0.01818, allocations: 19.91 kB / 1.01 GB, free: 3.488 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.0182, allocations: 11.98 kB / 1.01 GB, free: 3.477 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.194e-05/0.01827, allocations: 107.2 kB / 1.01 GB, free: 3.371 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.01827, allocations: 0 / 1.01 GB, free: 3.371 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003185/0.01859, allocations: 59.78 kB / 1.01 GB, free: 3.312 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008802/0.01947, allocations: 0.9124 MB / 1.011 GB, free: 2.375 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0005706/0.02004, allocations: 231.7 kB / 1.011 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.02004, allocations: 0 / 1.011 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0002709/0.02031, allocations: 124.8 kB / 1.012 GB, free: 2.027 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.02071, allocations: 23.97 kB / 1.012 GB, free: 2.004 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/0.02392, allocations: 2.288 MB / 1.014 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.02405, allocations: 141.8 kB / 1.014 GB, free: 15.46 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 9.676e-05/0.02415, allocations: 25.41 kB / 1.014 GB, free: 15.43 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.02427, allocations: 68.42 kB / 1.014 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of SimCode: time 6.71e-07/0.02427, allocations: 0 / 1.014 GB, free: 15.37 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08214/0.1064, allocations: 4.288 MB / 1.018 GB, free: 11.27 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.477/7.583, allocations: 0 / 1.018 GB, free: 11.27 MB / 0.9792 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.fmu) > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_AutoTuner_AMIGO_Validation_PI.fmu) > Buildings_13_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.AutoTuner.AMIGO.Validation.PI_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.42652556952089]