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.001377/0.001377, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001496/0.001496, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9681/0.9681, allocations: 177.1 MB / 203.7 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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 2.248/2.248, allocations: 438.1 MB / 0.682 GB, free: 14.19 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PID.u_s|PID.u_m|PIDWitTun.u_s|PIDWitTun.u_m|autTunSig.y|PIDWitTun.inTunPro.y|PIDWitTun.con.y|PIDWitTun.con.k|PIDWitTun.con.Ti|PIDWitTun.con.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PID.u_s|PID.u_m|PIDWitTun.u_s|PIDWitTun.u_m|autTunSig.y|PIDWitTun.inTunPro.y|PIDWitTun.con.y|PIDWitTun.con.k|PIDWitTun.con.Ti|PIDWitTun.con.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.343e-05/1.547e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO): time 0.006657/0.006673, allocations: 7.379 MB / 0.8969 GB, free: 2.352 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003983/0.01066, allocations: 3.168 MB / 0.9 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008246/0.01148, allocations: 67.62 kB / 0.9001 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.000543/0.01202, allocations: 367.8 kB / 0.9004 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0006668/0.01269, allocations: 340.7 kB / 0.9008 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00141/0.0141, allocations: 1.311 MB / 0.9021 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002093/0.01619, allocations: 3.378 MB / 0.9054 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.01776, allocations: 1.381 MB / 0.9067 GB, free: 8.273 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001408/0.01917, allocations: 1.872 MB / 0.9085 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007157/0.01989, allocations: 0.8292 MB / 0.9093 GB, free: 5.566 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003503/0.02024, allocations: 428 kB / 0.9097 GB, free: 5.148 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003237/0.02056, allocations: 444 kB / 0.9102 GB, free: 4.715 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003463/0.02091, allocations: 0.7478 MB / 0.9109 GB, free: 3.965 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005474/0.02146, allocations: 0.9119 MB / 0.9118 GB, free: 3.051 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001664/0.02312, allocations: 2.156 MB / 0.9139 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.02312, allocations: 0 / 0.9139 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.82e-07/0.02312, allocations: 0 / 0.9139 GB, free: 0.8867 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.596e-05/0.02314, allocations: 4 kB / 0.9139 GB, free: 0.8828 MB / 0.8698 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.002992/0.02613, allocations: 3.547 MB / 0.9174 GB, free: 13.25 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.02617, allocations: 8.625 kB / 0.9174 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000443/0.02661, allocations: 0.4991 MB / 0.9179 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.02785, allocations: 1.514 MB / 0.9193 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.02796, allocations: 201.4 kB / 0.9195 GB, free: 11 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/0.02816, allocations: 288.3 kB / 0.9198 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.0297, allocations: 1.768 MB / 0.9215 GB, free: 8.828 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.02974, allocations: 3.938 kB / 0.9215 GB, free: 8.824 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.02984, allocations: 111.9 kB / 0.9216 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.886e-05/0.02987, allocations: 60 kB / 0.9217 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.0311, allocations: 0.673 MB / 0.9224 GB, free: 7.961 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007139/0.03824, allocations: 5.774 MB / 0.928 GB, free: 2.094 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.03959, allocations: 1.211 MB / 0.9292 GB, free: 0.8672 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004717/0.04006, allocations: 429.5 kB / 0.9296 GB, free: 448 kB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-05/0.04013, allocations: 45.92 kB / 0.9296 GB, free: 404 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007662/0.0409, allocations: 0.8443 MB / 0.9305 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=209): time 3.467e-06/0.0409, allocations: 0 / 0.9305 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of matching and sorting (n=209): time 0.001619/0.04252, allocations: 1.428 MB / 0.9318 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.486e-05/0.0426, allocations: 174.4 kB / 0.932 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007273/0.04333, allocations: 0.8227 MB / 0.9328 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.04346, allocations: 93.7 kB / 0.9329 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005817/0.04404, allocations: 0.9657 MB / 0.9339 GB, free: 11.93 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004038/0.04445, allocations: 0.6236 MB / 0.9345 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004089/0.04486, allocations: 437.7 kB / 0.9349 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.04496, allocations: 480.8 kB / 0.9353 GB, free: 10.39 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004373/0.0454, allocations: 298.5 kB / 0.9356 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005811/0.04598, allocations: 0.8461 MB / 0.9364 GB, free: 9.039 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.04702, allocations: 0.9946 MB / 0.9374 GB, free: 7.91 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.364e-05/0.04704, allocations: 3.938 kB / 0.9374 GB, free: 7.906 MB / 0.9011 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.001521/0.04856, allocations: 1.371 MB / 0.9388 GB, free: 6.516 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.32e-05/0.0486, allocations: 37.7 kB / 0.9388 GB, free: 6.473 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.04861, allocations: 8 kB / 0.9388 GB, free: 6.465 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.04864, allocations: 19.98 kB / 0.9388 GB, free: 6.445 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007011/0.04934, allocations: 355.4 kB / 0.9392 GB, free: 6.098 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/0.04936, allocations: 19.94 kB / 0.9392 GB, free: 6.078 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005428/0.04991, allocations: 195 kB / 0.9394 GB, free: 5.887 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.968e-05/0.04999, allocations: 59.98 kB / 0.9394 GB, free: 5.828 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006589/0.05064, allocations: 456.7 kB / 0.9399 GB, free: 5.367 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005729/0.05122, allocations: 0.8429 MB / 0.9407 GB, free: 4.328 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000907/0.05212, allocations: 0.9789 MB / 0.9416 GB, free: 3.215 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.666e-06/0.05213, allocations: 4 kB / 0.9416 GB, free: 3.211 MB / 0.9011 GB Notification: Performance of matching and sorting (n=279) (initialization_lambda0): time 0.001472/0.05361, allocations: 1.367 MB / 0.943 GB, free: 1.824 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.651e-05/0.05364, allocations: 41.69 kB / 0.943 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.05365, allocations: 8 kB / 0.943 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.05367, allocations: 16.11 kB / 0.943 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006965/0.05436, allocations: 351.3 kB / 0.9434 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.906e-05/0.05438, allocations: 19.94 kB / 0.9434 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005065/0.05489, allocations: 187.1 kB / 0.9436 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.309e-05/0.05496, allocations: 63.98 kB / 0.9436 GB, free: 1.145 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (277): * Single equations (assignments): 276 * 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.0004616/0.05542, allocations: 482.1 kB / 0.9441 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.05566, allocations: 227 kB / 0.9443 GB, free: 452 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.05694, allocations: 1.177 MB / 0.9455 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.05695, allocations: 20 kB / 0.9455 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.05696, allocations: 4 kB / 0.9455 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.05697, allocations: 7.969 kB / 0.9455 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003631/0.0606, allocations: 3.058 MB / 0.9485 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.06061, allocations: 4 kB / 0.9485 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004694/0.06108, allocations: 228 kB / 0.9487 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-05/0.06109, allocations: 15.98 kB / 0.9487 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.83e-05/0.06116, allocations: 43.97 kB / 0.9488 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.208e-06/0.06117, allocations: 12 kB / 0.9488 GB, free: 11.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.06117, allocations: 7.938 kB / 0.9488 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.06315, allocations: 1.796 MB / 0.9505 GB, free: 9.898 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004096/0.06356, allocations: 326.4 kB / 0.9508 GB, free: 9.578 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.06369, allocations: 59.98 kB / 0.9509 GB, free: 9.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.06397, allocations: 67.95 kB / 0.951 GB, free: 9.453 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000196/0.06417, allocations: 177.5 kB / 0.9511 GB, free: 9.277 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.998e-05/0.06424, allocations: 55.97 kB / 0.9512 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0003147/0.06455, allocations: 450.9 kB / 0.9516 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.06455, allocations: 0 / 0.9516 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001506/0.06606, allocations: 0.926 MB / 0.9525 GB, free: 7.84 MB / 0.9167 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.0002938/0.06635, allocations: 250.6 kB / 0.9528 GB, free: 7.578 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002011/0.06836, allocations: 1.78 MB / 0.9545 GB, free: 5.754 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.06837, allocations: 384 / 0.9545 GB, free: 5.754 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0005354/0.06891, allocations: 0.5455 MB / 0.955 GB, free: 5.207 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008887/0.06979, allocations: 337.5 kB / 0.9554 GB, free: 4.879 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0043/0.07409, allocations: 3.287 MB / 0.9586 GB, free: 1.484 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.07436, allocations: 357.1 kB / 0.9589 GB, free: 1.109 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000742/0.0751, allocations: 237 kB / 0.9591 GB, free: 0.8711 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000682/0.07579, allocations: 466 kB / 0.9596 GB, free: 424 kB / 0.9167 GB Notification: Performance of SimCode: time 2.144e-06/0.07579, allocations: 0 / 0.9596 GB, free: 424 kB / 0.9167 GB Notification: Performance of Templates: time 0.03083/0.1066, allocations: 22.39 MB / 0.9814 GB, free: 10.49 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Validation_ReverseActingPIDWithFirstOrderAMIGO.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.771505178883672]