Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.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.001369/0.001369, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001479/0.001479, allocations: 215.6 kB / 22.26 MB, free: 5.082 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 8.035 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.47/3.47, allocations: 0.505 GB / 0.8101 GB, free: 22.08 MB / 0.6231 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.Validation.ReverseActingPIDWithFirstOrderAMIGO,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Validation_ReverseActingPIDWithFirstOrderAMIGO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Validation_ReverseActingPIDWithFirstOrderAMIGO",fmuType="me",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.002024/0.002024, allocations: 66.19 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3713, allocations: 180.2 MB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO): time 0.01166/0.383, allocations: 8.434 MB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007669/0.3907, allocations: 3.203 MB / 1.364 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00297/0.3936, allocations: 63.69 kB / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001491/0.3951, allocations: 363.8 kB / 1.365 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001687/0.3968, allocations: 297.2 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003235/0.4, allocations: 1.358 MB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00634/0.4064, allocations: 3.366 MB / 1.37 GB, free: 7.332 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003512/0.4099, allocations: 1.467 MB / 1.371 GB, free: 5.805 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.4117, allocations: 1.176 MB / 1.372 GB, free: 4.625 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.4135, allocations: 1.201 MB / 1.373 GB, free: 3.418 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0006708/0.4141, allocations: 456 kB / 1.374 GB, free: 2.973 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006262/0.4147, allocations: 475.9 kB / 1.374 GB, free: 2.508 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006454/0.4154, allocations: 0.7559 MB / 1.375 GB, free: 1.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001653/0.417, allocations: 1.447 MB / 1.376 GB, free: 304 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005927/0.423, allocations: 5.138 MB / 1.381 GB, free: 11.14 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.423, allocations: 0 / 1.381 GB, free: 11.14 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.514e-06/0.423, allocations: 0 / 1.381 GB, free: 11.14 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.38e-05/0.4231, allocations: 0 / 1.381 GB, free: 11.14 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 642 * Number of variables: 642 Notification: Performance of Generate backend data structure: time 0.006362/0.4294, allocations: 3.44 MB / 1.385 GB, free: 7.633 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.4295, allocations: 8.031 kB / 1.385 GB, free: 7.625 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004224/0.4299, allocations: 350.5 kB / 1.385 GB, free: 7.273 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005797/0.4305, allocations: 303.1 kB / 1.385 GB, free: 6.977 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00248/0.433, allocations: 1.435 MB / 1.387 GB, free: 5.508 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001853/0.4331, allocations: 209.4 kB / 1.387 GB, free: 5.301 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003606/0.4335, allocations: 280.1 kB / 1.387 GB, free: 5.027 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004394/0.4379, allocations: 2.4 MB / 1.39 GB, free: 2.562 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.681e-05/0.438, allocations: 0 / 1.39 GB, free: 2.562 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/0.4382, allocations: 108 kB / 1.39 GB, free: 2.457 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.709e-05/0.4382, allocations: 64 kB / 1.39 GB, free: 2.395 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003415/0.4416, allocations: 1.715 MB / 1.391 GB, free: 0.668 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01191/0.4535, allocations: 6.893 MB / 1.398 GB, free: 9.676 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00342/0.457, allocations: 1.821 MB / 1.4 GB, free: 7.84 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.4584, allocations: 0.7773 MB / 1.401 GB, free: 7.059 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.232e-05/0.4585, allocations: 34.05 kB / 1.401 GB, free: 7.027 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001708/0.4602, allocations: 1.018 MB / 1.402 GB, free: 5.988 MB / 1.092 GB Notification: Performance of pre-optimization done (n=209): time 3.547e-06/0.4602, allocations: 0 / 1.402 GB, free: 5.988 MB / 1.092 GB Notification: Performance of matching and sorting (n=209): time 0.004215/0.4644, allocations: 2.248 MB / 1.404 GB, free: 3.738 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.4646, allocations: 174.4 kB / 1.404 GB, free: 3.539 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.4662, allocations: 1.094 MB / 1.405 GB, free: 2.43 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002092/0.4664, allocations: 105.7 kB / 1.405 GB, free: 2.32 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008507/0.4672, allocations: 0.8937 MB / 1.406 GB, free: 1.418 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005558/0.4678, allocations: 0.6199 MB / 1.407 GB, free: 0.793 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006057/0.4684, allocations: 416 kB / 1.407 GB, free: 388 kB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4685, allocations: 301.1 kB / 1.407 GB, free: 84 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.4699, allocations: 0.6579 MB / 1.408 GB, free: 15.41 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/0.4715, allocations: 0.9733 MB / 1.409 GB, free: 14.32 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002636/0.4742, allocations: 1.52 MB / 1.41 GB, free: 12.71 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/0.4742, allocations: 0 / 1.41 GB, free: 12.71 MB / 1.107 GB Notification: Performance of matching and sorting (n=277) (initialization): time 0.003813/0.478, allocations: 1.967 MB / 1.412 GB, free: 10.73 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.537e-05/0.478, allocations: 41.69 kB / 1.412 GB, free: 10.68 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.4781, allocations: 4 kB / 1.412 GB, free: 10.68 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.094e-05/0.4781, allocations: 16.19 kB / 1.412 GB, free: 10.66 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.4793, allocations: 327.4 kB / 1.413 GB, free: 10.34 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-05/0.4794, allocations: 24.25 kB / 1.413 GB, free: 10.32 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.4805, allocations: 254.4 kB / 1.413 GB, free: 10.07 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/0.4806, allocations: 83.97 kB / 1.413 GB, free: 9.988 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002024/0.4827, allocations: 1.016 MB / 1.414 GB, free: 8.965 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001551/0.4842, allocations: 0.9459 MB / 1.415 GB, free: 7.91 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002557/0.4868, allocations: 1.485 MB / 1.416 GB, free: 6.336 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.41e-06/0.4868, allocations: 0 / 1.416 GB, free: 6.336 MB / 1.107 GB Notification: Performance of matching and sorting (n=277) (initialization_lambda0): time 0.003569/0.4904, allocations: 1.928 MB / 1.418 GB, free: 4.395 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.333e-05/0.4904, allocations: 39.42 kB / 1.418 GB, free: 4.352 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.4904, allocations: 11.94 kB / 1.418 GB, free: 4.34 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.263e-05/0.4904, allocations: 19.98 kB / 1.418 GB, free: 4.32 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.4916, allocations: 307.4 kB / 1.419 GB, free: 4.02 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.466e-05/0.4917, allocations: 20.42 kB / 1.419 GB, free: 4 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.4927, allocations: 223 kB / 1.419 GB, free: 3.781 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.4928, allocations: 79.88 kB / 1.419 GB, free: 3.703 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 127 ($PRE.PIDWitTun.resPro.norTimDel.tunEndDel.u,$PRE.PIDWitTun.tunStaDel.u,uniDel1.u_internal,$PRE.uniDel1.u_internal,uniDel2.u_internal,$PRE.uniDel2.u_internal,$whenCondition21,$whenCondition19,$whenCondition20,$PRE.PIDWitTun.tunStaDel.t_next,$whenCondition13,$PRE.PIDWitTun.resPro.norTimDel.tunEndDel.t_next,$whenCondition6,uniDel2.sampleTrigger,$whenCondition17,uniDel1.sampleTrigger,$whenCondition18,PIDWitTun.tunStaDel.t_next,PIDWitTun.resPro.norTimDel.tunEndDel.t_next,PIDWitTun.con.greThrkTd.greHys.y,$PRE.PIDWitTun.con.greThrkTd.greHys.y,PIDWitTun.rel.hys.y,$PRE.PIDWitTun.rel.hys.y,PIDWitTun.resPro.triSta,PIDWitTun.resPro.onOffPer.timOn.y,$PRE.PIDWitTun.resPro.onOffPer.timOn.y,PIDWitTun.resPro.onOffPer.timOff.y,$PRE.PIDWitTun.resPro.onOffPer.timOff.y,PIDWitTun.resPro.onOffPer.timOnRec.yRec.y,$PRE.PIDWitTun.resPro.onOffPer.timOnRec.yRec.y,PIDWitTun.resPro.onOffPer.timOnRec.samTri.u2,PIDWitTun.resPro.onOffPer.timOnRec.samTri.y,PIDWitTun.resPro.onOffPer.timOnRec.edgRes.u,$PRE.PIDWitTun.resPro.onOffPer.timOnRec.edgRes.u,PIDWitTun.resPro.onOffPer.timOnRec.edgThr.u,$PRE.PIDWitTun.resPro.onOffPer.timOnRec.edgThr.u,PIDWitTun.resPro.onOffPer.timOnRec.edgThr.y,PIDWitTun.resPro.onOffPer.timOffRec.yRec.y,$PRE.PIDWitTun.resPro.onOffPer.timOffRec.yRec.y,PIDWitTun.resPro.onOffPer.timOffRec.samTri.u2,PIDWitTun.resPro.onOffPer.timOffRec.samTri.y,PIDWitTun.resPro.onOffPer.timOffRec.edgRes.u,$PRE.PIDWitTun.resPro.onOffPer.timOffRec.edgRes.u,PIDWitTun.resPro.onOffPer.timOffRec.edgThr.u,$PRE.PIDWitTun.resPro.onOffPer.timOffRec.edgThr.u,PIDWitTun.resPro.onOffPer.timOffRec.edgThr.y,PIDWitTun.resPro.halPerRatio.tOnSam.y,$PRE.PIDWitTun.resPro.halPerRatio.tOnSam.y,PIDWitTun.resPro.halPerRatio.tOffSam.y,$PRE.PIDWitTun.resPro.halPerRatio.tOffSam.y,PIDWitTun.resPro.norTimDel.gre.greHys.y,$PRE.PIDWitTun.resPro.norTimDel.gre.greHys.y,PIDWitTun.resPro.norTimDel.or2.y,PIDWitTun.resPro.norTimDel.tunEndDel.u,PIDWitTun.resPro.norTimDel.tunEndDel.y,PIDWitTun.resPro.tunMon.samAddtOntOff.y,$PRE.PIDWitTun.resPro.tunMon.samAddtOntOff.y,PIDWitTun.resPro.tunMon.tInc.y,PIDWitTun.resPro.tunMon.tDec.y,PIDWitTun.resPro.tunMon.edgTunSta.u,$PRE.PIDWitTun.resPro.tunMon.edgTunSta.u,PIDWitTun.resPro.tunMon.edgTunEnd.u,$PRE.PIDWitTun.resPro.tunMon.edgTunEnd.u,PIDWitTun.resPro.tunMon.greThr1.y,PIDWitTun.conProMod.triEnd,PIDWitTun.conProMod.tunSta,PIDWitTun.conProMod.timConDel.gre1.greHys.y,$PRE.PIDWitTun.conProMod.timConDel.gre1.greHys.y,PIDWitTun.conProMod.timConDel.edg.u,$PRE.PIDWitTun.conProMod.timConDel.edg.u,PIDWitTun.conProMod.samK.y,$PRE.PIDWitTun.conProMod.samK.y,PIDWitTun.conProMod.samL.y,$PRE.PIDWitTun.conProMod.samL.y,PIDWitTun.conProMod.samtOn.y,$PRE.PIDWitTun.conProMod.samtOn.y,PIDWitTun.conProMod.samT.y,$PRE.PIDWitTun.conProMod.samT.y,PIDWitTun.conProMod.samTau.y,$PRE.PIDWitTun.conProMod.samTau.y,PIDWitTun.conProMod.not1.y,PIDWitTun.inTunPro.u,PIDWitTun.inTunPro.clr,PIDWitTun.inTunPro.y,$PRE.PIDWitTun.inTunPro.y,PIDWitTun.samk.y,$PRE.PIDWitTun.samk.y,PIDWitTun.samTi.y,$PRE.PIDWitTun.samTi.y,PIDWitTun.samTd.trigger,PIDWitTun.samTd.y,$PRE.PIDWitTun.samTd.y,PIDWitTun.nand.u2,PIDWitTun.nand.y,PIDWitTun.edgReq.u,$PRE.PIDWitTun.edgReq.u,PIDWitTun.tunStaDel.u,PIDWitTun.tunStaDel.y,PIDWitTun.sam_u_s.y,$PRE.PIDWitTun.sam_u_s.y,PIDWitTun.greThr.greHys.y,$PRE.PIDWitTun.greThr.greHys.y,PIDWitTun.falEdg.y,PIDWitTun.falEdg.not_u,$PRE.PIDWitTun.falEdg.not_u,uniDel2.y,$PRE.uniDel2.y,autTunSig.y,$PRE.autTunSig.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition16,$whenCondition22,uniDel1.y,$PRE.uniDel1.y,PIDWitTun.gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 1 * 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.0005534/0.4934, allocations: 398.2 kB / 1.419 GB, free: 3.305 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002885/0.4937, allocations: 166.9 kB / 1.42 GB, free: 3.141 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003295/0.497, allocations: 1.745 MB / 1.421 GB, free: 1.379 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.467e-05/0.497, allocations: 20 kB / 1.421 GB, free: 1.359 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.497, allocations: 4 kB / 1.421 GB, free: 1.355 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.257e-05/0.497, allocations: 11.91 kB / 1.421 GB, free: 1.344 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007859/0.5049, allocations: 4.451 MB / 1.426 GB, free: 12.8 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.5049, allocations: 0 / 1.426 GB, free: 12.8 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009453/0.5059, allocations: 228 kB / 1.426 GB, free: 12.57 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.675e-05/0.5059, allocations: 16 kB / 1.426 GB, free: 12.56 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.506, allocations: 47.97 kB / 1.426 GB, free: 12.51 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-05/0.506, allocations: 11.94 kB / 1.426 GB, free: 12.5 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.506, allocations: 4 kB / 1.426 GB, free: 12.5 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004741/0.5108, allocations: 2.775 MB / 1.429 GB, free: 9.672 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007761/0.5115, allocations: 358.3 kB / 1.429 GB, free: 9.32 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/0.5117, allocations: 59.98 kB / 1.429 GB, free: 9.262 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007122/0.5125, allocations: 79.91 kB / 1.429 GB, free: 9.184 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003088/0.5128, allocations: 189.6 kB / 1.429 GB, free: 8.996 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/0.5129, allocations: 75.97 kB / 1.429 GB, free: 8.922 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001038/0.5139, allocations: 0.6958 MB / 1.43 GB, free: 8.219 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5139, allocations: 0 / 1.43 GB, free: 8.219 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001954/0.5159, allocations: 0.8835 MB / 1.431 GB, free: 7.332 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (derivative2.x,derivative1.x,PID.D.x,PID.I.y,PIDWitTun.conProMod.gain.Iy.y,PIDWitTun.con.D.x,PIDWitTun.con.I.y) * Number of discrete variables: 87 (PIDWitTun.samTd.trigger,PIDWitTun.conProMod.triEnd,PIDWitTun.resPro.norTimDel.tunEndDel.u,PIDWitTun.tunStaDel.u,PIDWitTun.inTunPro.clr,PIDWitTun.resPro.tunMon.greThr1.y,PIDWitTun.resPro.triSta,PIDWitTun.resPro.onOffPer.timOnRec.samTri.y,PIDWitTun.resPro.onOffPer.timOffRec.samTri.y,PIDWitTun.inTunPro.u,uniDel1.sampleTrigger,uniDel2.sampleTrigger,$whenCondition22,$whenCondition21,$whenCondition19,$whenCondition20,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,autTunSig.y,uniDel1.u_internal,uniDel1.y,uniDel2.u_internal,uniDel2.y,PIDWitTun.falEdg.not_u,PIDWitTun.falEdg.y,PIDWitTun.greThr.greHys.y,PIDWitTun.sam_u_s.y,PIDWitTun.tunStaDel.t_next,PIDWitTun.tunStaDel.y,PIDWitTun.edgReq.u,PIDWitTun.nand.y,PIDWitTun.nand.u2,PIDWitTun.samTd.y,PIDWitTun.samTi.y,PIDWitTun.samk.y,PIDWitTun.inTunPro.y,PIDWitTun.conProMod.not1.y,PIDWitTun.conProMod.samTau.y,PIDWitTun.conProMod.samT.y,PIDWitTun.conProMod.samtOn.y,PIDWitTun.conProMod.samL.y,PIDWitTun.conProMod.samK.y,PIDWitTun.conProMod.timConDel.edg.u,PIDWitTun.conProMod.timConDel.gre1.greHys.y,PIDWitTun.conProMod.tunSta,PIDWitTun.resPro.tunMon.edgTunEnd.u,PIDWitTun.resPro.tunMon.edgTunSta.u,PIDWitTun.resPro.tunMon.tDec.y,PIDWitTun.resPro.tunMon.tInc.y,PIDWitTun.resPro.tunMon.samAddtOntOff.y,PIDWitTun.resPro.norTimDel.tunEndDel.t_next,PIDWitTun.resPro.norTimDel.tunEndDel.y,PIDWitTun.resPro.norTimDel.or2.y,PIDWitTun.resPro.norTimDel.gre.greHys.y,PIDWitTun.resPro.halPerRatio.tOffSam.y,PIDWitTun.resPro.halPerRatio.tOnSam.y,PIDWitTun.resPro.onOffPer.timOffRec.edgThr.y,PIDWitTun.resPro.onOffPer.timOffRec.edgThr.u,PIDWitTun.resPro.onOffPer.timOffRec.edgRes.u,PIDWitTun.resPro.onOffPer.timOffRec.samTri.u2,PIDWitTun.resPro.onOffPer.timOffRec.yRec.y,PIDWitTun.resPro.onOffPer.timOnRec.edgThr.y,PIDWitTun.resPro.onOffPer.timOnRec.edgThr.u,PIDWitTun.resPro.onOffPer.timOnRec.edgRes.u,PIDWitTun.resPro.onOffPer.timOnRec.samTri.u2,PIDWitTun.resPro.onOffPer.timOnRec.yRec.y,PIDWitTun.resPro.onOffPer.timOff.y,PIDWitTun.resPro.onOffPer.timOn.y,PIDWitTun.rel.hys.y,PIDWitTun.con.greThrkTd.greHys.y,PIDWitTun.gre.y) * Number of discrete states: 18 (PIDWitTun.tunStaDel.t_next,PIDWitTun.resPro.norTimDel.tunEndDel.t_next,PIDWitTun.resPro.onOffPer.timOnRec.edgRes.u,PIDWitTun.resPro.onOffPer.timOffRec.edgRes.u,PIDWitTun.edgReq.u,uniDel1.u_internal,uniDel2.u_internal,PIDWitTun.rel.hys.y,PIDWitTun.greThr.greHys.y,PIDWitTun.falEdg.not_u,PIDWitTun.resPro.onOffPer.timOffRec.edgThr.u,PIDWitTun.resPro.onOffPer.timOnRec.edgThr.u,PIDWitTun.resPro.tunMon.edgTunSta.u,PIDWitTun.resPro.tunMon.edgTunEnd.u,PIDWitTun.resPro.norTimDel.gre.greHys.y,PIDWitTun.conProMod.timConDel.gre1.greHys.y,PIDWitTun.conProMod.timConDel.edg.u,PIDWitTun.con.greThrkTd.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (209): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 26 * 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.00506/0.5209, allocations: 3.463 MB / 1.434 GB, free: 3.801 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.006103/0.5271, allocations: 2.598 MB / 1.437 GB, free: 1.184 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.5271, allocations: 0 / 1.437 GB, free: 1.184 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002672/0.5297, allocations: 0.8719 MB / 1.438 GB, free: 320 kB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002578/0.5323, allocations: 350 kB / 1.438 GB, free: 15.97 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03656/0.5689, allocations: 13.1 MB / 1.451 GB, free: 2.363 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002036/0.5709, allocations: 1.436 MB / 1.452 GB, free: 0.8945 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002271/0.5732, allocations: 258.1 kB / 1.452 GB, free: 0.6367 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002256/0.5754, allocations: 0.8625 MB / 1.453 GB, free: 15.77 MB / 1.154 GB Notification: Performance of SimCode: time 2.194e-06/0.5754, allocations: 0 / 1.453 GB, free: 15.77 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1291/0.7045, allocations: 35.67 MB / 1.488 GB, free: 12.46 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/14.98, allocations: 7.844 kB / 1.488 GB, free: 12.45 MB / 1.186 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.csv --start-time 0 --stop-time 10000 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Validation_ReverseActingPIDWithFirstOrderAMIGO.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Validation_ReverseActingPIDWithFirstOrderAMIGO.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable PID.u_s in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PID.u_s from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PID.u_m in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PID.u_m from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIDWitTun.u_s in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIDWitTun.u_s from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIDWitTun.u_m in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIDWitTun.u_m from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable autTunSig.y in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.csv. Warning: Get data of variable autTunSig.y from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIDWitTun.inTunPro.y in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIDWitTun.inTunPro.y from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIDWitTun.con.y in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIDWitTun.con.y from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIDWitTun.con.k in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIDWitTun.con.k from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIDWitTun.con.Ti in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIDWitTun.con.Ti from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIDWitTun.con.Td in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIDWitTun.con.Td from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.350817716000165]