Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.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.00123/0.00123, allocations: 85.17 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.00129/0.00129, allocations: 169 kB / 23.27 MB, free: 1.227 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.9247/0.9247, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.397/2.397, allocations: 438.1 MB / 0.682 GB, free: 14.18 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.DirectActingPIDWithFirstOrderAMIGO,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.DirectActingPIDWithFirstOrderAMIGO") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO,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.DirectActingPIDWithFirstOrderAMIGO") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.8897 GB, free: 9.777 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/1.999e-05, allocations: 5.406 kB / 0.8897 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO): time 0.006981/0.007001, allocations: 7.43 MB / 0.897 GB, free: 2.301 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00509/0.01209, allocations: 3.192 MB / 0.9001 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.01333, allocations: 67.62 kB / 0.9002 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006527/0.01399, allocations: 367.8 kB / 0.9005 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0008248/0.01481, allocations: 340.7 kB / 0.9008 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.01635, allocations: 1.315 MB / 0.9021 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002475/0.01882, allocations: 3.394 MB / 0.9054 GB, free: 9.621 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001685/0.02051, allocations: 1.385 MB / 0.9068 GB, free: 8.176 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.02196, allocations: 1.895 MB / 0.9086 GB, free: 6.277 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006554/0.02262, allocations: 0.8291 MB / 0.9094 GB, free: 5.445 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003497/0.02297, allocations: 432 kB / 0.9099 GB, free: 5.023 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003276/0.02329, allocations: 447.9 kB / 0.9103 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.000343/0.02364, allocations: 0.7478 MB / 0.911 GB, free: 3.836 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005401/0.02418, allocations: 0.9157 MB / 0.9119 GB, free: 2.918 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001749/0.02593, allocations: 2.168 MB / 0.914 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.02593, allocations: 0 / 0.914 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.042e-06/0.02593, allocations: 0 / 0.914 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.02595, allocations: 3.938 kB / 0.914 GB, free: 0.7383 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: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.003025/0.02897, allocations: 3.58 MB / 0.9175 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.02901, allocations: 12.62 kB / 0.9175 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004655/0.02947, allocations: 0.503 MB / 0.918 GB, free: 12.55 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.03076, allocations: 1.522 MB / 0.9195 GB, free: 11 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.03087, allocations: 205.5 kB / 0.9197 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/0.03108, allocations: 276.4 kB / 0.92 GB, free: 10.53 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.03269, allocations: 1.793 MB / 0.9217 GB, free: 8.617 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.475e-05/0.03273, allocations: 3.938 kB / 0.9217 GB, free: 8.613 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.03285, allocations: 119.9 kB / 0.9218 GB, free: 8.496 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.379e-05/0.03288, allocations: 64 kB / 0.9219 GB, free: 8.434 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000835/0.03372, allocations: 0.6734 MB / 0.9226 GB, free: 7.738 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005319/0.03904, allocations: 5.814 MB / 0.9282 GB, free: 1.832 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.04035, allocations: 1.269 MB / 0.9295 GB, free: 0.5508 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004341/0.04078, allocations: 449.4 kB / 0.9299 GB, free: 104 kB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.305e-05/0.04084, allocations: 41.97 kB / 0.93 GB, free: 64 kB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000707/0.04155, allocations: 0.8562 MB / 0.9308 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=211): time 2.926e-06/0.04155, allocations: 0 / 0.9308 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of matching and sorting (n=211): time 0.00145/0.043, allocations: 1.436 MB / 0.9322 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.056e-05/0.04307, allocations: 166.5 kB / 0.9323 GB, free: 13.51 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005729/0.04365, allocations: 0.8268 MB / 0.9332 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001081/0.04376, allocations: 105.6 kB / 0.9333 GB, free: 12.55 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004729/0.04423, allocations: 0.9696 MB / 0.9342 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003406/0.04457, allocations: 0.6315 MB / 0.9348 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004118/0.04498, allocations: 437.8 kB / 0.9352 GB, free: 10.49 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.0451, allocations: 480.5 kB / 0.9357 GB, free: 10.02 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.04547, allocations: 298.7 kB / 0.936 GB, free: 9.715 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005674/0.04604, allocations: 0.8543 MB / 0.9368 GB, free: 8.656 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008319/0.04687, allocations: 0.9934 MB / 0.9378 GB, free: 7.531 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.04688, allocations: 0 / 0.9378 GB, free: 7.531 MB / 0.9011 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.001299/0.04818, allocations: 1.373 MB / 0.9391 GB, free: 6.141 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.04822, allocations: 44.03 kB / 0.9392 GB, free: 6.094 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.04823, allocations: 4 kB / 0.9392 GB, free: 6.09 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.04825, allocations: 23.94 kB / 0.9392 GB, free: 6.066 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006478/0.0489, allocations: 359.4 kB / 0.9395 GB, free: 5.715 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.04891, allocations: 19.94 kB / 0.9396 GB, free: 5.695 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003913/0.0493, allocations: 199 kB / 0.9397 GB, free: 5.5 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.81e-05/0.04938, allocations: 67.92 kB / 0.9398 GB, free: 5.434 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005298/0.04991, allocations: 456.7 kB / 0.9402 GB, free: 4.973 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005578/0.05047, allocations: 0.8469 MB / 0.9411 GB, free: 3.93 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008007/0.05127, allocations: 0.9869 MB / 0.942 GB, free: 2.809 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.042e-06/0.05128, allocations: 4 kB / 0.942 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.001332/0.05261, allocations: 1.367 MB / 0.9434 GB, free: 1.418 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.05264, allocations: 37.69 kB / 0.9434 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.05265, allocations: 8 kB / 0.9434 GB, free: 1.367 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.05266, allocations: 16 kB / 0.9434 GB, free: 1.352 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006201/0.05328, allocations: 351.4 kB / 0.9438 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.05329, allocations: 19.94 kB / 0.9438 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003851/0.05368, allocations: 195.1 kB / 0.944 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.277e-05/0.05375, allocations: 56 kB / 0.944 GB, free: 0.7422 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 (279): * Single equations (assignments): 278 * 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.0002867/0.05404, allocations: 486.4 kB / 0.9445 GB, free: 264 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/0.05422, allocations: 223 kB / 0.9447 GB, free: 40 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.05536, allocations: 1.185 MB / 0.9459 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.05538, allocations: 20 kB / 0.9459 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.05538, allocations: 4 kB / 0.9459 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.05539, allocations: 19.94 kB / 0.9459 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/0.05825, allocations: 3.078 MB / 0.9489 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.05825, allocations: 4.375 kB / 0.9489 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004545/0.05871, allocations: 235.6 kB / 0.9491 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/0.05872, allocations: 8 kB / 0.9491 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.47e-05/0.05878, allocations: 51.91 kB / 0.9492 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.05879, allocations: 12 kB / 0.9492 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.05879, allocations: 0 / 0.9492 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.06036, allocations: 1.808 MB / 0.951 GB, free: 9.445 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003352/0.06069, allocations: 330.5 kB / 0.9513 GB, free: 9.121 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.0608, allocations: 67.92 kB / 0.9514 GB, free: 9.055 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/0.06106, allocations: 63.95 kB / 0.9514 GB, free: 8.992 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.06124, allocations: 169.7 kB / 0.9516 GB, free: 8.824 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-05/0.0613, allocations: 55.97 kB / 0.9516 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002802/0.06158, allocations: 455.1 kB / 0.9521 GB, free: 8.312 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.06158, allocations: 0 / 0.9521 GB, free: 8.312 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001111/0.06269, allocations: 0.9299 MB / 0.953 GB, free: 7.379 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 (211): * Single equations (assignments): 185 * 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.0002496/0.06294, allocations: 258.4 kB / 0.9532 GB, free: 7.109 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001584/0.06453, allocations: 1.792 MB / 0.955 GB, free: 5.273 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.06453, allocations: 4.188 kB / 0.955 GB, free: 5.27 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004733/0.065, allocations: 0.5338 MB / 0.9555 GB, free: 4.734 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007737/0.06578, allocations: 330.9 kB / 0.9558 GB, free: 4.406 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/0.06906, allocations: 3.33 MB / 0.9591 GB, free: 0.9727 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.06929, allocations: 357.2 kB / 0.9594 GB, free: 0.5977 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005869/0.06988, allocations: 241.1 kB / 0.9596 GB, free: 364 kB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006338/0.07052, allocations: 469.9 kB / 0.9601 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of SimCode: time 7.11e-07/0.07052, allocations: 0 / 0.9601 GB, free: 15.89 MB / 0.9323 GB Notification: Performance of Templates: time 0.0268/0.09732, allocations: 22.47 MB / 0.982 GB, free: 9.898 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Validation_DirectActingPIDWithFirstOrderAMIGO.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: 6.027839918620884]