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.0009448/0.0009448, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001005/0.001005, allocations: 169 kB / 23.02 MB, free: 1.551 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.9374/0.9374, allocations: 177.1 MB / 203.4 MB, free: 5.664 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.18/2.18, allocations: 429.5 MB / 0.6732 GB, free: 4.043 MB / 0.6355 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 2.525e-06/2.525e-06, allocations: 0 / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.755e-05/3.008e-05, allocations: 6.328 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO): time 0.01086/0.01089, allocations: 7.83 MB / 0.8858 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005901/0.01679, allocations: 3.193 MB / 0.8889 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001421/0.01821, allocations: 67.62 kB / 0.889 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006536/0.01887, allocations: 368.9 kB / 0.8893 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0007051/0.01957, allocations: 325 kB / 0.8896 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.02111, allocations: 1.32 MB / 0.8909 GB, free: 9.211 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002279/0.02338, allocations: 3.39 MB / 0.8942 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/0.02536, allocations: 1.386 MB / 0.8956 GB, free: 4.371 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001476/0.02683, allocations: 1.86 MB / 0.8974 GB, free: 2.508 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006725/0.02751, allocations: 0.8738 MB / 0.8983 GB, free: 1.633 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0003426/0.02785, allocations: 448.5 kB / 0.8987 GB, free: 1.195 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003497/0.0282, allocations: 469.6 kB / 0.8991 GB, free: 0.7383 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003821/0.02858, allocations: 0.7829 MB / 0.8999 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006237/0.0292, allocations: 0.9391 MB / 0.9008 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.002044/0.03125, allocations: 2.242 MB / 0.903 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.03125, allocations: 7.062 kB / 0.903 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.213e-06/0.03126, allocations: 0 / 0.903 GB, free: 12.76 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.919e-05/0.03128, allocations: 0 / 0.903 GB, free: 12.76 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.003319/0.03459, allocations: 3.505 MB / 0.9064 GB, free: 9.172 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.03463, allocations: 8.031 kB / 0.9065 GB, free: 9.164 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005133/0.03515, allocations: 0.5069 MB / 0.907 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.03671, allocations: 1.508 MB / 0.9084 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.03684, allocations: 209.5 kB / 0.9086 GB, free: 6.906 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002341/0.03707, allocations: 288.2 kB / 0.9089 GB, free: 6.625 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002471/0.03954, allocations: 1.957 MB / 0.9108 GB, free: 4.551 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/0.03958, allocations: 0 / 0.9108 GB, free: 4.551 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.0397, allocations: 112 kB / 0.9109 GB, free: 4.441 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-05/0.03974, allocations: 64 kB / 0.911 GB, free: 4.379 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.04119, allocations: 0.8834 MB / 0.9118 GB, free: 3.477 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006023/0.04721, allocations: 5.784 MB / 0.9175 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.04901, allocations: 1.382 MB / 0.9188 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006755/0.04969, allocations: 0.5015 MB / 0.9193 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.119e-05/0.04977, allocations: 41.98 kB / 0.9194 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009153/0.05068, allocations: 0.9149 MB / 0.9203 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=211): time 3.035e-06/0.05069, allocations: 0 / 0.9203 GB, free: 10.69 MB / 0.8855 GB Notification: Performance of matching and sorting (n=211): time 0.002014/0.0527, allocations: 1.619 MB / 0.9218 GB, free: 9.066 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.0528, allocations: 174.4 kB / 0.922 GB, free: 8.867 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007702/0.05357, allocations: 0.835 MB / 0.9228 GB, free: 8.004 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.05368, allocations: 97.7 kB / 0.9229 GB, free: 7.902 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007203/0.0544, allocations: 0.9658 MB / 0.9239 GB, free: 6.926 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003782/0.05478, allocations: 0.6121 MB / 0.9245 GB, free: 6.309 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004248/0.05521, allocations: 422.1 kB / 0.9249 GB, free: 5.887 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.05533, allocations: 488.6 kB / 0.9253 GB, free: 5.406 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006223/0.05595, allocations: 382.5 kB / 0.9257 GB, free: 5.016 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007934/0.05674, allocations: 0.899 MB / 0.9266 GB, free: 3.926 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.05791, allocations: 1.06 MB / 0.9276 GB, free: 2.742 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.05792, allocations: 4 kB / 0.9276 GB, free: 2.738 MB / 0.8855 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.001723/0.05964, allocations: 1.513 MB / 0.9291 GB, free: 1.207 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.278e-05/0.05968, allocations: 37.69 kB / 0.9291 GB, free: 1.164 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.05969, allocations: 4.188 kB / 0.9291 GB, free: 1.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.05972, allocations: 16 kB / 0.9291 GB, free: 1.145 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006806/0.0604, allocations: 355.4 kB / 0.9295 GB, free: 0.7969 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.897e-05/0.06042, allocations: 23.92 kB / 0.9295 GB, free: 0.7734 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004175/0.06084, allocations: 190.9 kB / 0.9297 GB, free: 0.5859 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.96e-05/0.06093, allocations: 83.95 kB / 0.9298 GB, free: 0.5039 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000915/0.06184, allocations: 0.5242 MB / 0.9303 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007604/0.0626, allocations: 0.89 MB / 0.9311 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001109/0.06371, allocations: 1.066 MB / 0.9322 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.378e-06/0.06372, allocations: 0 / 0.9322 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=279) (initialization_lambda0): time 0.001628/0.06534, allocations: 1.499 MB / 0.9337 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.06537, allocations: 33.7 kB / 0.9337 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.06538, allocations: 9.031 kB / 0.9337 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.06539, allocations: 16 kB / 0.9337 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006497/0.06604, allocations: 355.4 kB / 0.934 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.06605, allocations: 23.92 kB / 0.9341 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003858/0.06644, allocations: 186.9 kB / 0.9342 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.278e-05/0.06652, allocations: 75.98 kB / 0.9343 GB, free: 11.49 MB / 0.9011 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 (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.0002993/0.06682, allocations: 478 kB / 0.9348 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/0.067, allocations: 227 kB / 0.935 GB, free: 10.79 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.06851, allocations: 1.314 MB / 0.9363 GB, free: 9.465 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.06852, allocations: 20 kB / 0.9363 GB, free: 9.445 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.06853, allocations: 0 / 0.9363 GB, free: 9.445 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.06854, allocations: 7.969 kB / 0.9363 GB, free: 9.438 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00373/0.07227, allocations: 3.423 MB / 0.9396 GB, free: 5.91 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.07227, allocations: 4 kB / 0.9396 GB, free: 5.906 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004849/0.07276, allocations: 235.5 kB / 0.9399 GB, free: 5.676 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.07277, allocations: 11.94 kB / 0.9399 GB, free: 5.664 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.644e-05/0.07283, allocations: 51.97 kB / 0.9399 GB, free: 5.613 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.294e-06/0.07284, allocations: 12 kB / 0.9399 GB, free: 5.602 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.07284, allocations: 4 kB / 0.9399 GB, free: 5.598 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/0.07493, allocations: 2 MB / 0.9419 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003701/0.0753, allocations: 330.5 kB / 0.9422 GB, free: 3.207 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.07542, allocations: 67.92 kB / 0.9423 GB, free: 3.141 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.07571, allocations: 63.95 kB / 0.9423 GB, free: 3.078 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/0.07591, allocations: 169.7 kB / 0.9425 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.951e-05/0.07599, allocations: 71.97 kB / 0.9426 GB, free: 2.84 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004133/0.0764, allocations: 499 kB / 0.943 GB, free: 2.34 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9e-08/0.0764, allocations: 4 kB / 0.9431 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001336/0.07774, allocations: 0.9377 MB / 0.944 GB, free: 1.395 MB / 0.9011 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.0002657/0.078, allocations: 254.5 kB / 0.9442 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002262/0.08027, allocations: 1.986 MB / 0.9462 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.08027, allocations: 4 kB / 0.9462 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006429/0.08091, allocations: 0.6018 MB / 0.9467 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008387/0.08175, allocations: 352.5 kB / 0.9471 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/0.08565, allocations: 3.346 MB / 0.9503 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.086, allocations: 357.2 kB / 0.9507 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0005892/0.08659, allocations: 237 kB / 0.9509 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003033/0.08689, allocations: 152.5 kB / 0.9511 GB, free: 9.938 MB / 0.9167 GB Notification: Performance of SimCode: time 1.012e-06/0.0869, allocations: 0 / 0.9511 GB, free: 9.938 MB / 0.9167 GB Notification: Performance of Templates: time 0.03087/0.1178, allocations: 20.76 MB / 0.9713 GB, free: 5.52 MB / 0.9323 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.193925995845348]