Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.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.001359/0.001359, allocations: 115.9 kB / 17.16 MB, free: 5.895 MB / 14.72 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.002095/0.002095, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.522/1.522, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.012/3.012, allocations: 0.5003 GB / 0.8026 GB, free: 6.918 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Relay.BaseClasses.Validation.TuningMonitor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_TuningMonitor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_TuningMonitor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 67.91 kB / 1.165 GB, free: 0.5391 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9539/0.956, allocations: 178.9 MB / 1.34 GB, free: 16.32 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor): time 0.003065/0.9591, allocations: 2.377 MB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.9605, allocations: 0.9239 MB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.9607, allocations: 10.34 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001853/0.9609, allocations: 51.09 kB / 1.343 GB, free: 13.92 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.961, allocations: 62.11 kB / 1.343 GB, free: 13.87 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.9621, allocations: 450.2 kB / 1.344 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006701/0.9628, allocations: 0.6232 MB / 1.345 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003224/0.9631, allocations: 186.5 kB / 1.345 GB, free: 13.2 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.9633, allocations: 230 kB / 1.345 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.9636, allocations: 227.5 kB / 1.345 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.772e-05/0.9637, allocations: 70.28 kB / 1.345 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.9639, allocations: 89.02 kB / 1.345 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.241e-05/0.9639, allocations: 92.02 kB / 1.345 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.9642, allocations: 245.6 kB / 1.346 GB, free: 12.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008522/0.965, allocations: 0.7249 MB / 1.346 GB, free: 12.46 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.965, allocations: 1.375 kB / 1.346 GB, free: 12.46 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/0.965, allocations: 0 / 1.346 GB, free: 12.46 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.965, allocations: 3.938 kB / 1.346 GB, free: 12.46 MB / 1.061 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.0009913/0.966, allocations: 0.7791 MB / 1.347 GB, free: 11.8 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.9661, allocations: 14.83 kB / 1.347 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.838e-05/0.9661, allocations: 13.09 kB / 1.347 GB, free: 11.79 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.72e-05/0.9661, allocations: 66.52 kB / 1.347 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.9662, allocations: 52.11 kB / 1.347 GB, free: 11.71 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.9667, allocations: 357.4 kB / 1.348 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/0.9667, allocations: 37.36 kB / 1.348 GB, free: 11.4 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.415e-05/0.9668, allocations: 46.23 kB / 1.348 GB, free: 11.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004895/0.9673, allocations: 283.9 kB / 1.348 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.9673, allocations: 0 / 1.348 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.9673, allocations: 13.73 kB / 1.348 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.9673, allocations: 11.45 kB / 1.348 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003275/0.9677, allocations: 197.1 kB / 1.348 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.9692, allocations: 1.024 MB / 1.349 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004603/0.9697, allocations: 201.5 kB / 1.349 GB, free: 10.47 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.9699, allocations: 103.2 kB / 1.349 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.9699, allocations: 3.25 kB / 1.349 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003403/0.9703, allocations: 190.9 kB / 1.35 GB, free: 10.34 MB / 1.061 GB Notification: Performance of pre-optimization done (n=33): time 1.893e-06/0.9703, allocations: 0 / 1.35 GB, free: 10.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.0007388/0.971, allocations: 379.5 kB / 1.35 GB, free: 10.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.9711, allocations: 59.95 kB / 1.35 GB, free: 10.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.9713, allocations: 270.8 kB / 1.35 GB, free: 9.953 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/0.9714, allocations: 42.11 kB / 1.35 GB, free: 9.914 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.9715, allocations: 206 kB / 1.351 GB, free: 9.746 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.848e-05/0.9716, allocations: 81.14 kB / 1.351 GB, free: 9.684 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.9718, allocations: 104.5 kB / 1.351 GB, free: 9.637 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.563e-05/0.9719, allocations: 339.2 kB / 1.351 GB, free: 9.312 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.9722, allocations: 165.4 kB / 1.351 GB, free: 9.242 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/0.9725, allocations: 229.1 kB / 1.351 GB, free: 9.102 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004556/0.973, allocations: 372.2 kB / 1.352 GB, free: 8.824 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.973, allocations: 4.688 kB / 1.352 GB, free: 8.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008941/0.9739, allocations: 0.5681 MB / 1.352 GB, free: 8.516 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.007e-05/0.9739, allocations: 114.6 kB / 1.352 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.9739, allocations: 2.641 kB / 1.352 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.9739, allocations: 4.094 kB / 1.352 GB, free: 8.402 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.9741, allocations: 28.47 kB / 1.352 GB, free: 8.398 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.9741, allocations: 4.922 kB / 1.352 GB, free: 8.398 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005713/0.9747, allocations: 102.1 kB / 1.353 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.412e-05/0.9747, allocations: 21.98 kB / 1.353 GB, free: 8.375 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 29 ($whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,tunEnd.y,tunSta.y,tOff.booPul.y,$PRE.tOff.booPul.y,tOnSig2.booPul.y,$PRE.tOnSig2.booPul.y,tOnSig1.booPul.y,$PRE.tOnSig1.booPul.y,tunMan.greThr1.y,tunMan.edgTunEnd.u,$PRE.tunMan.edgTunEnd.u,tunMan.edgTunSta.u,$PRE.tunMan.edgTunSta.u,tunMan.tDec.y,tunMan.tInc.y,tunMan.samAddtOntOff.y,$PRE.tunMan.samAddtOntOff.y,tunMan.triEnd,tunMan.triSta,$whenCondition1,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 3 * 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.0001891/0.9749, allocations: 182.6 kB / 1.353 GB, free: 8.219 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.9749, allocations: 34.03 kB / 1.353 GB, free: 8.199 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004683/0.9754, allocations: 293.2 kB / 1.353 GB, free: 8.066 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.9754, allocations: 3 kB / 1.353 GB, free: 8.066 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.9754, allocations: 5.828 kB / 1.353 GB, free: 8.062 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.9754, allocations: 1.453 kB / 1.353 GB, free: 8.062 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.9766, allocations: 0.7725 MB / 1.354 GB, free: 7.57 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.9766, allocations: 0.6562 kB / 1.354 GB, free: 7.57 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.9767, allocations: 22.94 kB / 1.354 GB, free: 7.566 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.9767, allocations: 2.25 kB / 1.354 GB, free: 7.566 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.9767, allocations: 8.031 kB / 1.354 GB, free: 7.562 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.107e-06/0.9767, allocations: 2.219 kB / 1.354 GB, free: 7.562 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.9767, allocations: 4.656 kB / 1.354 GB, free: 7.559 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004872/0.9772, allocations: 396.8 kB / 1.354 GB, free: 7.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.9773, allocations: 120.3 kB / 1.354 GB, free: 7.203 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.9773, allocations: 7.578 kB / 1.354 GB, free: 7.199 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.9775, allocations: 11.78 kB / 1.354 GB, free: 7.195 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.938e-05/0.9776, allocations: 28.55 kB / 1.354 GB, free: 7.188 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/0.9776, allocations: 10.78 kB / 1.354 GB, free: 7.188 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001912/0.9778, allocations: 187.1 kB / 1.355 GB, free: 7.066 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9778, allocations: 0.9062 kB / 1.355 GB, free: 7.066 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004962/0.9783, allocations: 100.5 kB / 1.355 GB, free: 7.043 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 23 (tunMan.triEnd,tunMan.greThr1.y,tunMan.triSta,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,tunMan.samAddtOntOff.y,tunMan.tInc.y,tunMan.tDec.y,tunMan.edgTunSta.u,tunMan.edgTunEnd.u,tOnSig1.booPul.y,tOnSig2.booPul.y,tOff.booPul.y,tunSta.y,tunEnd.y) * Number of discrete states: 2 (tunMan.edgTunSta.u,tunMan.edgTunEnd.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0007165/0.979, allocations: 0.9454 MB / 1.356 GB, free: 6.27 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006963/0.9797, allocations: 494.7 kB / 1.356 GB, free: 5.961 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.9797, allocations: 0 / 1.356 GB, free: 5.961 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.9799, allocations: 115.9 kB / 1.356 GB, free: 5.922 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005018/0.9804, allocations: 80.25 kB / 1.356 GB, free: 5.887 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00435/0.9847, allocations: 3.381 MB / 1.36 GB, free: 3.645 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.985, allocations: 0.7866 MB / 1.36 GB, free: 2.945 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001499/0.9851, allocations: 31.77 kB / 1.36 GB, free: 2.945 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.9853, allocations: 125.5 kB / 1.36 GB, free: 2.852 MB / 1.061 GB Notification: Performance of SimCode: time 1.243e-06/0.9853, allocations: 1.125 kB / 1.36 GB, free: 2.852 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03107/1.016, allocations: 7.584 MB / 1.368 GB, free: 2.098 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.193/10.21, allocations: 9.172 kB / 1.368 GB, free: 2.094 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_TuningMonitor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_TuningMonitor.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.TuningMonitor.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.664448063005693] Failed to read output from testmodel.py, exit status != 0: 10.340695079998113 10.362440331 9.39317913 Calling exit ...