Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001051/0.001051, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009931/0.0009931, allocations: 161 kB / 23.82 MB, free: 0.75 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.9566/0.9566, allocations: 177.1 MB / 204.2 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.956/1.956, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 4.812 kB / 0.8115 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.82e-05/2.08e-05, allocations: 6.312 kB / 0.8115 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO): time 0.007981/0.008002, allocations: 7.784 MB / 0.8191 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004832/0.01283, allocations: 3.146 MB / 0.8222 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009525/0.01379, allocations: 67.62 kB / 0.8223 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0005837/0.01437, allocations: 368.7 kB / 0.8226 GB, free: 5.23 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0006666/0.01504, allocations: 321 kB / 0.8229 GB, free: 4.918 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.01634, allocations: 1.289 MB / 0.8242 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00203/0.01837, allocations: 3.351 MB / 0.8274 GB, free: 276 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.01984, allocations: 1.39 MB / 0.8288 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001243/0.02109, allocations: 1.821 MB / 0.8306 GB, free: 13 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005959/0.02168, allocations: 0.8622 MB / 0.8314 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0003079/0.02199, allocations: 442.3 kB / 0.8318 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003274/0.02232, allocations: 460 kB / 0.8323 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.000357/0.02268, allocations: 0.7595 MB / 0.833 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000677/0.02335, allocations: 0.9352 MB / 0.8339 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.02501, allocations: 2.203 MB / 0.8361 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.02502, allocations: 0 / 0.8361 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.71e-07/0.02502, allocations: 0.5312 kB / 0.8361 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.02503, allocations: 0 / 0.8361 GB, free: 7.344 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 647 * Number of variables: 647 Notification: Performance of Generate backend data structure: time 0.003146/0.02818, allocations: 3.473 MB / 0.8395 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.02822, allocations: 8.031 kB / 0.8395 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005161/0.02874, allocations: 0.4962 MB / 0.84 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.03033, allocations: 1.481 MB / 0.8414 GB, free: 1.785 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.03045, allocations: 213.4 kB / 0.8416 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002302/0.03068, allocations: 276.3 kB / 0.8419 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/0.03289, allocations: 1.944 MB / 0.8438 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.65e-05/0.03292, allocations: 4 kB / 0.8438 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.03304, allocations: 108 kB / 0.8439 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/0.03307, allocations: 60 kB / 0.8439 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.03448, allocations: 0.8816 MB / 0.8448 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005742/0.04022, allocations: 5.719 MB / 0.8504 GB, free: 8.383 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.04193, allocations: 1.335 MB / 0.8517 GB, free: 7.035 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006482/0.04257, allocations: 0.4892 MB / 0.8522 GB, free: 6.547 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.966e-05/0.04265, allocations: 37.98 kB / 0.8522 GB, free: 6.508 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008719/0.04353, allocations: 0.8718 MB / 0.8531 GB, free: 5.578 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=203): time 2.915e-06/0.04353, allocations: 0 / 0.8531 GB, free: 5.578 MB / 0.7605 GB Notification: Performance of matching and sorting (n=203): time 0.002057/0.04559, allocations: 1.537 MB / 0.8546 GB, free: 4.039 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.519e-05/0.04567, allocations: 175.3 kB / 0.8547 GB, free: 3.836 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007478/0.04642, allocations: 0.8309 MB / 0.8555 GB, free: 2.992 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/0.04653, allocations: 93.69 kB / 0.8556 GB, free: 2.895 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005347/0.04706, allocations: 0.9585 MB / 0.8566 GB, free: 1.926 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/0.0474, allocations: 0.6096 MB / 0.8572 GB, free: 1.312 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004033/0.04781, allocations: 405.5 kB / 0.8576 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.04791, allocations: 476.8 kB / 0.858 GB, free: 448 kB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005931/0.0485, allocations: 373.8 kB / 0.8584 GB, free: 56 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000786/0.04929, allocations: 0.8513 MB / 0.8592 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.05043, allocations: 1.011 MB / 0.8602 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.05044, allocations: 8 kB / 0.8602 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.00185/0.05229, allocations: 1.451 MB / 0.8616 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/0.05233, allocations: 37.7 kB / 0.8616 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.05234, allocations: 4 kB / 0.8616 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.923e-05/0.05237, allocations: 19.98 kB / 0.8617 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007003/0.05307, allocations: 343.4 kB / 0.862 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.136e-05/0.05309, allocations: 19.92 kB / 0.862 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004182/0.05351, allocations: 194.9 kB / 0.8622 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.072e-05/0.0536, allocations: 79.97 kB / 0.8623 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007499/0.05435, allocations: 0.5044 MB / 0.8628 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007511/0.0551, allocations: 0.851 MB / 0.8636 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001092/0.05619, allocations: 1.012 MB / 0.8646 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.719e-06/0.0562, allocations: 4 kB / 0.8646 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of matching and sorting (n=267) (initialization_lambda0): time 0.001606/0.0578, allocations: 1.437 MB / 0.866 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.05783, allocations: 37.7 kB / 0.866 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/0.05784, allocations: 4 kB / 0.866 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.05785, allocations: 16 kB / 0.866 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006379/0.05848, allocations: 339.4 kB / 0.8664 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.0585, allocations: 19.94 kB / 0.8664 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.05887, allocations: 183.4 kB / 0.8666 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.713e-05/0.05895, allocations: 71.94 kB / 0.8666 GB, free: 6.949 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 117 ($PRE.PIDWitTun.tunStaDel.u,uniDel1.u_internal,$PRE.uniDel1.u_internal,uniDel2.u_internal,$PRE.uniDel2.u_internal,$whenCondition17,$whenCondition15,$whenCondition16,$PRE.PIDWitTun.tunStaDel.t_next,$whenCondition10,uniDel2.sampleTrigger,$whenCondition13,uniDel1.sampleTrigger,$whenCondition14,PIDWitTun.tunStaDel.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.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.conProMod.nand1.y,PIDWitTun.inTunPro.clr,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,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition18,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 (265): * Single equations (assignments): 264 * 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.0002707/0.05922, allocations: 469.1 kB / 0.8671 GB, free: 6.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.0594, allocations: 219 kB / 0.8673 GB, free: 6.266 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001566/0.06097, allocations: 1.236 MB / 0.8685 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.06098, allocations: 20 kB / 0.8685 GB, free: 4.996 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.06098, allocations: 0 / 0.8685 GB, free: 4.996 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.061, allocations: 19.91 kB / 0.8685 GB, free: 4.977 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003364/0.06436, allocations: 3.296 MB / 0.8718 GB, free: 1.578 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.06437, allocations: 4.375 kB / 0.8718 GB, free: 1.574 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004877/0.06485, allocations: 231.6 kB / 0.872 GB, free: 1.348 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/0.06487, allocations: 15.94 kB / 0.872 GB, free: 1.332 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-05/0.06493, allocations: 51.97 kB / 0.872 GB, free: 1.281 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.06494, allocations: 8 kB / 0.872 GB, free: 1.273 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.06494, allocations: 4 kB / 0.8721 GB, free: 1.27 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/0.06696, allocations: 1.901 MB / 0.8739 GB, free: 15.3 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003561/0.06732, allocations: 326.5 kB / 0.8742 GB, free: 14.98 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.06743, allocations: 67.92 kB / 0.8743 GB, free: 14.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.06771, allocations: 55.97 kB / 0.8743 GB, free: 14.86 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001937/0.0679, allocations: 169.6 kB / 0.8745 GB, free: 14.69 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.258e-05/0.06797, allocations: 63.97 kB / 0.8746 GB, free: 14.63 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0005349/0.06851, allocations: 490.8 kB / 0.875 GB, free: 14.15 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.06851, allocations: 0 / 0.875 GB, free: 14.15 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001135/0.06964, allocations: 0.9259 MB / 0.8759 GB, free: 13.22 MB / 0.7917 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: 80 (PIDWitTun.samTd.trigger,PIDWitTun.conProMod.triEnd,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,uniDel1.sampleTrigger,uniDel2.sampleTrigger,$whenCondition18,$whenCondition17,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$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.nand1.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.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: 17 (PIDWitTun.tunStaDel.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 (203): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 24 * 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.0002602/0.0699, allocations: 253.4 kB / 0.8762 GB, free: 12.96 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002165/0.07207, allocations: 1.915 MB / 0.878 GB, free: 11 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.07207, allocations: 4.875 kB / 0.8781 GB, free: 11 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0006189/0.07269, allocations: 0.5731 MB / 0.8786 GB, free: 10.43 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008253/0.07352, allocations: 336.3 kB / 0.8789 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003568/0.07709, allocations: 3.308 MB / 0.8822 GB, free: 6.688 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.07732, allocations: 348.5 kB / 0.8825 GB, free: 6.32 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0005559/0.07788, allocations: 232.6 kB / 0.8827 GB, free: 6.086 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002787/0.07815, allocations: 148.5 kB / 0.8829 GB, free: 5.938 MB / 0.7917 GB Notification: Performance of SimCode: time 8.62e-07/0.07816, allocations: 0 / 0.8829 GB, free: 5.938 MB / 0.7917 GB Notification: Performance of Templates: time 0.02482/0.103, allocations: 20.18 MB / 0.9026 GB, free: 2.117 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.047465101350099]