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.004262/0.004262, 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.001831/0.001831, allocations: 169.3 kB / 23.02 MB, free: 1.555 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 1.071/1.071, allocations: 177.1 MB / 203.4 MB, free: 5.605 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.167/2.167, allocations: 429.5 MB / 0.6732 GB, free: 4.039 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 3.417e-06/3.417e-06, allocations: 0 / 0.8781 GB, free: 5.184 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.525e-05/3.866e-05, allocations: 2.312 kB / 0.8781 GB, free: 5.18 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO): time 0.01276/0.0128, allocations: 7.791 MB / 0.8858 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.008554/0.02136, allocations: 3.174 MB / 0.8889 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003426/0.02478, allocations: 68.56 kB / 0.8889 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001558/0.02634, allocations: 360.9 kB / 0.8893 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.002243/0.02859, allocations: 331.1 kB / 0.8896 GB, free: 9.457 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003141/0.03173, allocations: 1.311 MB / 0.8909 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.005263/0.03699, allocations: 3.37 MB / 0.8942 GB, free: 4.766 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002353/0.03934, allocations: 1.381 MB / 0.8955 GB, free: 3.324 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/0.04103, allocations: 1.848 MB / 0.8973 GB, free: 1.473 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000639/0.04167, allocations: 0.8587 MB / 0.8981 GB, free: 0.6133 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.000313/0.04198, allocations: 449.3 kB / 0.8986 GB, free: 180 kB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003846/0.04236, allocations: 471.9 kB / 0.899 GB, free: 15.71 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.000378/0.04274, allocations: 0.7712 MB / 0.8998 GB, free: 14.94 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.000559/0.0433, allocations: 0.943 MB / 0.9007 GB, free: 14 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002223/0.04552, allocations: 2.23 MB / 0.9029 GB, free: 11.76 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.04553, allocations: 0 / 0.9029 GB, free: 11.76 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.064e-06/0.04553, allocations: 3.938 kB / 0.9029 GB, free: 11.75 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.572e-05/0.04555, allocations: 0 / 0.9029 GB, free: 11.75 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.003423/0.04897, allocations: 3.482 MB / 0.9063 GB, free: 8.191 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.04902, allocations: 8.031 kB / 0.9063 GB, free: 8.184 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005596/0.04958, allocations: 0.503 MB / 0.9068 GB, free: 7.68 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.05112, allocations: 1.492 MB / 0.9082 GB, free: 6.148 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.05123, allocations: 201.4 kB / 0.9084 GB, free: 5.949 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002312/0.05146, allocations: 284.3 kB / 0.9087 GB, free: 5.672 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00231/0.05377, allocations: 1.937 MB / 0.9106 GB, free: 3.617 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.941e-05/0.05382, allocations: 4 kB / 0.9106 GB, free: 3.613 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001924/0.05402, allocations: 115.9 kB / 0.9107 GB, free: 3.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.53e-05/0.05406, allocations: 64 kB / 0.9108 GB, free: 3.438 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.0555, allocations: 0.8713 MB / 0.9116 GB, free: 2.547 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005824/0.06132, allocations: 5.748 MB / 0.9172 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.06303, allocations: 1.314 MB / 0.9185 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006817/0.06371, allocations: 0.4937 MB / 0.919 GB, free: 10.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.973e-05/0.06379, allocations: 41.92 kB / 0.919 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009911/0.06479, allocations: 0.9188 MB / 0.9199 GB, free: 9.867 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=209): time 3.707e-06/0.06479, allocations: 0 / 0.9199 GB, free: 9.867 MB / 0.8386 GB Notification: Performance of matching and sorting (n=209): time 0.002125/0.06691, allocations: 1.607 MB / 0.9215 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.85e-05/0.06701, allocations: 174.4 kB / 0.9217 GB, free: 8.055 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000744/0.06776, allocations: 0.8271 MB / 0.9225 GB, free: 7.215 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.06786, allocations: 97.69 kB / 0.9226 GB, free: 7.113 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005284/0.06839, allocations: 0.9541 MB / 0.9235 GB, free: 6.148 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003512/0.06874, allocations: 0.6161 MB / 0.9241 GB, free: 5.527 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004387/0.06918, allocations: 413.9 kB / 0.9245 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.0693, allocations: 476.8 kB / 0.925 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006093/0.06991, allocations: 382.4 kB / 0.9253 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008261/0.07074, allocations: 0.8986 MB / 0.9262 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.07196, allocations: 1.063 MB / 0.9272 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.07197, allocations: 0 / 0.9272 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of matching and sorting (n=277) (initialization): time 0.001786/0.07376, allocations: 1.504 MB / 0.9287 GB, free: 464 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.503e-05/0.0738, allocations: 33.7 kB / 0.9287 GB, free: 424 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.07381, allocations: 12.03 kB / 0.9287 GB, free: 412 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.07384, allocations: 16 kB / 0.9288 GB, free: 396 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006913/0.07453, allocations: 351.4 kB / 0.9291 GB, free: 44 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.07455, allocations: 19.94 kB / 0.9291 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004452/0.075, allocations: 195 kB / 0.9293 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-05/0.07509, allocations: 75.98 kB / 0.9294 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007721/0.07586, allocations: 0.5202 MB / 0.9299 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008083/0.07667, allocations: 0.8869 MB / 0.9307 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001171/0.07784, allocations: 1.058 MB / 0.9318 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.519e-06/0.07784, allocations: 0 / 0.9318 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of matching and sorting (n=277) (initialization_lambda0): time 0.001716/0.07956, allocations: 1.503 MB / 0.9332 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.07959, allocations: 33.7 kB / 0.9333 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.0796, allocations: 8 kB / 0.9333 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.07961, allocations: 16 kB / 0.9333 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006605/0.08027, allocations: 339.7 kB / 0.9336 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/0.08029, allocations: 32.41 kB / 0.9337 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003967/0.08069, allocations: 190.9 kB / 0.9338 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.402e-05/0.08077, allocations: 79.98 kB / 0.9339 GB, free: 10.76 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 127 ($PRE.PIDWitTun.resPro.norTimDel.tunEndDel.u,$PRE.PIDWitTun.tunStaDel.u,uniDel1.u_internal,$PRE.uniDel1.u_internal,uniDel2.u_internal,$PRE.uniDel2.u_internal,$whenCondition21,$whenCondition19,$whenCondition20,$PRE.PIDWitTun.tunStaDel.t_next,$whenCondition13,$PRE.PIDWitTun.resPro.norTimDel.tunEndDel.t_next,$whenCondition6,uniDel2.sampleTrigger,$whenCondition17,uniDel1.sampleTrigger,$whenCondition18,PIDWitTun.tunStaDel.t_next,PIDWitTun.resPro.norTimDel.tunEndDel.t_next,PIDWitTun.con.greThrkTd.greHys.y,$PRE.PIDWitTun.con.greThrkTd.greHys.y,PIDWitTun.rel.hys.y,$PRE.PIDWitTun.rel.hys.y,PIDWitTun.resPro.triSta,PIDWitTun.resPro.onOffPer.timOn.y,$PRE.PIDWitTun.resPro.onOffPer.timOn.y,PIDWitTun.resPro.onOffPer.timOff.y,$PRE.PIDWitTun.resPro.onOffPer.timOff.y,PIDWitTun.resPro.onOffPer.timOnRec.yRec.y,$PRE.PIDWitTun.resPro.onOffPer.timOnRec.yRec.y,PIDWitTun.resPro.onOffPer.timOnRec.samTri.u2,PIDWitTun.resPro.onOffPer.timOnRec.samTri.y,PIDWitTun.resPro.onOffPer.timOnRec.edgRes.u,$PRE.PIDWitTun.resPro.onOffPer.timOnRec.edgRes.u,PIDWitTun.resPro.onOffPer.timOnRec.edgThr.u,$PRE.PIDWitTun.resPro.onOffPer.timOnRec.edgThr.u,PIDWitTun.resPro.onOffPer.timOnRec.edgThr.y,PIDWitTun.resPro.onOffPer.timOffRec.yRec.y,$PRE.PIDWitTun.resPro.onOffPer.timOffRec.yRec.y,PIDWitTun.resPro.onOffPer.timOffRec.samTri.u2,PIDWitTun.resPro.onOffPer.timOffRec.samTri.y,PIDWitTun.resPro.onOffPer.timOffRec.edgRes.u,$PRE.PIDWitTun.resPro.onOffPer.timOffRec.edgRes.u,PIDWitTun.resPro.onOffPer.timOffRec.edgThr.u,$PRE.PIDWitTun.resPro.onOffPer.timOffRec.edgThr.u,PIDWitTun.resPro.onOffPer.timOffRec.edgThr.y,PIDWitTun.resPro.halPerRatio.tOnSam.y,$PRE.PIDWitTun.resPro.halPerRatio.tOnSam.y,PIDWitTun.resPro.halPerRatio.tOffSam.y,$PRE.PIDWitTun.resPro.halPerRatio.tOffSam.y,PIDWitTun.resPro.norTimDel.gre.greHys.y,$PRE.PIDWitTun.resPro.norTimDel.gre.greHys.y,PIDWitTun.resPro.norTimDel.or2.y,PIDWitTun.resPro.norTimDel.tunEndDel.u,PIDWitTun.resPro.norTimDel.tunEndDel.y,PIDWitTun.resPro.tunMon.samAddtOntOff.y,$PRE.PIDWitTun.resPro.tunMon.samAddtOntOff.y,PIDWitTun.resPro.tunMon.tInc.y,PIDWitTun.resPro.tunMon.tDec.y,PIDWitTun.resPro.tunMon.edgTunSta.u,$PRE.PIDWitTun.resPro.tunMon.edgTunSta.u,PIDWitTun.resPro.tunMon.edgTunEnd.u,$PRE.PIDWitTun.resPro.tunMon.edgTunEnd.u,PIDWitTun.resPro.tunMon.greThr1.y,PIDWitTun.conProMod.triEnd,PIDWitTun.conProMod.tunSta,PIDWitTun.conProMod.timConDel.gre1.greHys.y,$PRE.PIDWitTun.conProMod.timConDel.gre1.greHys.y,PIDWitTun.conProMod.timConDel.edg.u,$PRE.PIDWitTun.conProMod.timConDel.edg.u,PIDWitTun.conProMod.samK.y,$PRE.PIDWitTun.conProMod.samK.y,PIDWitTun.conProMod.samL.y,$PRE.PIDWitTun.conProMod.samL.y,PIDWitTun.conProMod.samtOn.y,$PRE.PIDWitTun.conProMod.samtOn.y,PIDWitTun.conProMod.samT.y,$PRE.PIDWitTun.conProMod.samT.y,PIDWitTun.conProMod.samTau.y,$PRE.PIDWitTun.conProMod.samTau.y,PIDWitTun.conProMod.not1.y,PIDWitTun.inTunPro.u,PIDWitTun.inTunPro.clr,PIDWitTun.inTunPro.y,$PRE.PIDWitTun.inTunPro.y,PIDWitTun.samk.y,$PRE.PIDWitTun.samk.y,PIDWitTun.samTi.y,$PRE.PIDWitTun.samTi.y,PIDWitTun.samTd.trigger,PIDWitTun.samTd.y,$PRE.PIDWitTun.samTd.y,PIDWitTun.nand.u2,PIDWitTun.nand.y,PIDWitTun.edgReq.u,$PRE.PIDWitTun.edgReq.u,PIDWitTun.tunStaDel.u,PIDWitTun.tunStaDel.y,PIDWitTun.sam_u_s.y,$PRE.PIDWitTun.sam_u_s.y,PIDWitTun.greThr.greHys.y,$PRE.PIDWitTun.greThr.greHys.y,PIDWitTun.falEdg.y,PIDWitTun.falEdg.not_u,$PRE.PIDWitTun.falEdg.not_u,uniDel2.y,$PRE.uniDel2.y,autTunSig.y,$PRE.autTunSig.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition16,$whenCondition22,uniDel1.y,$PRE.uniDel1.y,PIDWitTun.gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (275): * Single equations (assignments): 274 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003262/0.0811, allocations: 474.2 kB / 0.9344 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.08128, allocations: 223 kB / 0.9346 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.08282, allocations: 1.294 MB / 0.9358 GB, free: 8.758 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.08283, allocations: 24 kB / 0.9359 GB, free: 8.734 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.08284, allocations: 0 / 0.9359 GB, free: 8.734 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.08285, allocations: 15.95 kB / 0.9359 GB, free: 8.719 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003587/0.08644, allocations: 3.4 MB / 0.9392 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.08644, allocations: 4 kB / 0.9392 GB, free: 5.211 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004797/0.08692, allocations: 223.6 kB / 0.9394 GB, free: 4.992 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.08693, allocations: 12 kB / 0.9394 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.271e-05/0.087, allocations: 55.95 kB / 0.9395 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.08701, allocations: 8 kB / 0.9395 GB, free: 4.918 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/0.08702, allocations: 11.88 kB / 0.9395 GB, free: 4.906 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002154/0.08917, allocations: 1.988 MB / 0.9414 GB, free: 2.852 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003821/0.08955, allocations: 334.4 kB / 0.9418 GB, free: 2.523 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.08968, allocations: 63.98 kB / 0.9418 GB, free: 2.461 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.08996, allocations: 67.94 kB / 0.9419 GB, free: 2.395 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/0.09017, allocations: 173.6 kB / 0.9421 GB, free: 2.223 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.781e-05/0.09025, allocations: 67.97 kB / 0.9421 GB, free: 2.156 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004316/0.09068, allocations: 498.8 kB / 0.9426 GB, free: 1.668 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.09068, allocations: 0 / 0.9426 GB, free: 1.668 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001287/0.09197, allocations: 0.9338 MB / 0.9435 GB, free: 0.7305 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.0002992/0.09227, allocations: 246 kB / 0.9437 GB, free: 492 kB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002341/0.09461, allocations: 1.987 MB / 0.9457 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.09461, allocations: 0 / 0.9457 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006675/0.09528, allocations: 0.5925 MB / 0.9463 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008651/0.09614, allocations: 348.5 kB / 0.9466 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/0.09987, allocations: 3.324 MB / 0.9498 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.1001, allocations: 357 kB / 0.9502 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0005618/0.1007, allocations: 244.9 kB / 0.9504 GB, free: 9.465 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.101, allocations: 144.5 kB / 0.9506 GB, free: 9.324 MB / 0.8698 GB Notification: Performance of SimCode: time 1.062e-06/0.101, allocations: 0 / 0.9506 GB, free: 9.324 MB / 0.8698 GB Notification: Performance of Templates: time 0.02566/0.1266, allocations: 20.68 MB / 0.9707 GB, free: 4.992 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.288077726960182]