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.001423/0.001423, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001161/0.001161, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.002/1.002, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.118/2.118, allocations: 429.5 MB / 0.6743 GB, free: 3.883 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.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 1.954e-06/1.954e-06, allocations: 0 / 0.8794 GB, free: 4.898 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.881e-05, allocations: 3.875 kB / 0.8794 GB, free: 4.895 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO): time 0.00793/0.007959, allocations: 7.395 MB / 0.8866 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.005128/0.01309, allocations: 3.171 MB / 0.8897 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.01435, allocations: 68.28 kB / 0.8898 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006331/0.01499, allocations: 365.4 kB / 0.8901 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.0161, allocations: 341.2 kB / 0.8904 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001548/0.01765, allocations: 1.307 MB / 0.8917 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.002301/0.01995, allocations: 3.366 MB / 0.895 GB, free: 4.871 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001898/0.02185, allocations: 1.39 MB / 0.8963 GB, free: 3.422 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002215/0.02406, allocations: 1.879 MB / 0.8982 GB, free: 1.539 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007597/0.02482, allocations: 0.8305 MB / 0.899 GB, free: 0.707 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0003223/0.02514, allocations: 424 kB / 0.8994 GB, free: 300 kB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003455/0.02549, allocations: 440 kB / 0.8998 GB, free: 15.86 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003662/0.02585, allocations: 0.7517 MB / 0.9006 GB, free: 15.11 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005501/0.0264, allocations: 0.9041 MB / 0.9014 GB, free: 14.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001892/0.0283, allocations: 2.152 MB / 0.9035 GB, free: 12.04 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.0283, allocations: 7.875 kB / 0.9035 GB, free: 12.04 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.193e-06/0.0283, allocations: 0 / 0.9035 GB, free: 12.04 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.894e-05/0.02832, allocations: 0 / 0.9035 GB, free: 12.04 MB / 0.823 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.003623/0.03194, allocations: 3.555 MB / 0.907 GB, free: 8.398 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.03198, allocations: 8.031 kB / 0.907 GB, free: 8.391 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005107/0.03249, allocations: 0.503 MB / 0.9075 GB, free: 7.887 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.03389, allocations: 1.502 MB / 0.909 GB, free: 6.348 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.03401, allocations: 205.4 kB / 0.9092 GB, free: 6.145 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002403/0.03425, allocations: 284.2 kB / 0.9094 GB, free: 5.867 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.03594, allocations: 1.78 MB / 0.9112 GB, free: 3.969 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.023e-05/0.03598, allocations: 7.922 kB / 0.9112 GB, free: 3.961 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004292/0.03641, allocations: 104 kB / 0.9113 GB, free: 3.859 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/0.03645, allocations: 64 kB / 0.9114 GB, free: 3.797 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000869/0.03731, allocations: 0.669 MB / 0.912 GB, free: 3.105 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005551/0.04287, allocations: 5.778 MB / 0.9177 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.04441, allocations: 1.2 MB / 0.9188 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004521/0.04487, allocations: 441.5 kB / 0.9192 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.103e-05/0.04493, allocations: 37.98 kB / 0.9193 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007215/0.04565, allocations: 0.8559 MB / 0.9201 GB, free: 10.63 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=209): time 3.226e-06/0.04565, allocations: 0 / 0.9201 GB, free: 10.63 MB / 0.8386 GB Notification: Performance of matching and sorting (n=209): time 0.001497/0.04715, allocations: 1.42 MB / 0.9215 GB, free: 9.211 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.787e-05/0.04723, allocations: 174.4 kB / 0.9217 GB, free: 9.008 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005842/0.04781, allocations: 0.8188 MB / 0.9225 GB, free: 8.16 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.04791, allocations: 105.7 kB / 0.9226 GB, free: 8.051 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004864/0.0484, allocations: 0.9579 MB / 0.9235 GB, free: 7.082 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003323/0.04873, allocations: 0.6237 MB / 0.9241 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003906/0.04912, allocations: 429.7 kB / 0.9245 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.04923, allocations: 476.8 kB / 0.925 GB, free: 5.555 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006662/0.0499, allocations: 302.5 kB / 0.9253 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005796/0.05048, allocations: 0.8577 MB / 0.9261 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008514/0.05133, allocations: 0.9842 MB / 0.9271 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.05133, allocations: 4 kB / 0.9271 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.001337/0.05267, allocations: 1.374 MB / 0.9284 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.05271, allocations: 35.27 kB / 0.9284 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.05272, allocations: 8 kB / 0.9285 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.05274, allocations: 19.98 kB / 0.9285 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006587/0.0534, allocations: 355.4 kB / 0.9288 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.05342, allocations: 23.92 kB / 0.9288 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/0.05382, allocations: 191.2 kB / 0.929 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-05/0.0539, allocations: 63.98 kB / 0.9291 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005439/0.05445, allocations: 448.7 kB / 0.9295 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005784/0.05502, allocations: 0.8499 MB / 0.9303 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008273/0.05585, allocations: 0.9711 MB / 0.9313 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.2e-06/0.05586, allocations: 8 kB / 0.9313 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of matching and sorting (n=279) (initialization_lambda0): time 0.001548/0.05741, allocations: 1.363 MB / 0.9326 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.742e-05/0.05743, allocations: 37.69 kB / 0.9327 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.05744, allocations: 8 kB / 0.9327 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.05745, allocations: 16 kB / 0.9327 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006302/0.05808, allocations: 347.4 kB / 0.933 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.0581, allocations: 27.88 kB / 0.933 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004001/0.0585, allocations: 191.3 kB / 0.9332 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-05/0.05857, allocations: 56 kB / 0.9333 GB, free: 12.3 MB / 0.8542 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.0003127/0.05888, allocations: 478.5 kB / 0.9337 GB, free: 11.83 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.05908, allocations: 227 kB / 0.9339 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.06025, allocations: 1.177 MB / 0.9351 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.06026, allocations: 20 kB / 0.9351 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.06026, allocations: 8 kB / 0.9351 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.06028, allocations: 11.95 kB / 0.9351 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002944/0.06322, allocations: 3.05 MB / 0.9381 GB, free: 7.234 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.06323, allocations: 8.031 kB / 0.9381 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004642/0.06369, allocations: 227.6 kB / 0.9383 GB, free: 7.004 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.0637, allocations: 8 kB / 0.9383 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.377e-05/0.06376, allocations: 51.97 kB / 0.9384 GB, free: 6.945 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/0.06377, allocations: 12 kB / 0.9384 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.06378, allocations: 7.938 kB / 0.9384 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.06566, allocations: 1.8 MB / 0.9402 GB, free: 5.055 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003394/0.066, allocations: 326.5 kB / 0.9405 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.06612, allocations: 59.98 kB / 0.9405 GB, free: 4.676 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.0664, allocations: 63.95 kB / 0.9406 GB, free: 4.613 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.06657, allocations: 173.6 kB / 0.9408 GB, free: 4.445 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-05/0.06664, allocations: 51.97 kB / 0.9408 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00029/0.06693, allocations: 462.8 kB / 0.9413 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2e-07/0.06693, allocations: 0 / 0.9413 GB, free: 3.93 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001252/0.06818, allocations: 0.9299 MB / 0.9422 GB, free: 2.996 MB / 0.8542 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.0002895/0.06847, allocations: 243.8 kB / 0.9424 GB, free: 2.742 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001854/0.07033, allocations: 1.787 MB / 0.9441 GB, free: 0.9062 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.07033, allocations: 0 / 0.9441 GB, free: 0.9062 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005207/0.07085, allocations: 0.5299 MB / 0.9447 GB, free: 384 kB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008723/0.07172, allocations: 351.9 kB / 0.945 GB, free: 32 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004179/0.0759, allocations: 3.299 MB / 0.9482 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.07616, allocations: 353.2 kB / 0.9486 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006861/0.07685, allocations: 244.9 kB / 0.9488 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006824/0.07753, allocations: 465.9 kB / 0.9492 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of SimCode: time 1.482e-06/0.07753, allocations: 0 / 0.9492 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of Templates: time 0.03159/0.1091, allocations: 22.9 MB / 0.9716 GB, free: 5.027 MB / 0.8855 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: 6.518649105448276]