Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO.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.001513/0.001513, allocations: 77.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.001638/0.001638, 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 0.944/0.944, 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.067/2.067, allocations: 429.5 MB / 0.6743 GB, free: 3.879 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.DirectActingPIWithFirstOrderAMIGO,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PI.u_s|PI.u_m|PIWitTun.u_s|PIWitTun.u_m|autTunSig.y|PIWitTun.inTunPro.y|PIWitTun.con.y|PIWitTun.con.k|PIWitTun.con.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PI.u_s|PI.u_m|PIWitTun.u_s|PIWitTun.u_m|autTunSig.y|PIWitTun.inTunPro.y|PIWitTun.con.y|PIWitTun.con.k|PIWitTun.con.Ti",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 0 / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.143e-05, allocations: 4.984 kB / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO): time 0.01136/0.0114, allocations: 7.444 MB / 0.8866 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.008054/0.01945, allocations: 3.186 MB / 0.8898 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003303/0.02275, allocations: 63.69 kB / 0.8898 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.02426, allocations: 363.8 kB / 0.8902 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002248/0.02651, allocations: 327.5 kB / 0.8905 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.003521/0.03003, allocations: 1.311 MB / 0.8918 GB, free: 9.312 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005505/0.03554, allocations: 3.325 MB / 0.895 GB, free: 5.984 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004236/0.03977, allocations: 1.38 MB / 0.8963 GB, free: 4.543 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003225/0.043, allocations: 1.84 MB / 0.8981 GB, free: 2.699 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.04406, allocations: 0.8125 MB / 0.8989 GB, free: 1.887 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0005497/0.04461, allocations: 420 kB / 0.8993 GB, free: 1.477 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005376/0.04514, allocations: 440 kB / 0.8998 GB, free: 1.047 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0005101/0.04565, allocations: 0.7322 MB / 0.9005 GB, free: 320 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0009346/0.04659, allocations: 0.8924 MB / 0.9013 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.003333/0.04992, allocations: 2.133 MB / 0.9034 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/0.04993, allocations: 0 / 0.9034 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.774e-06/0.04993, allocations: 0 / 0.9034 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.497e-05/0.04997, allocations: 4 kB / 0.9034 GB, free: 13.27 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: 642 * Number of variables: 642 Notification: Performance of Generate backend data structure: time 0.005335/0.0553, allocations: 3.503 MB / 0.9069 GB, free: 9.691 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.05535, allocations: 12.03 kB / 0.9069 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008184/0.05617, allocations: 0.4952 MB / 0.9073 GB, free: 9.184 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002142/0.05831, allocations: 1.475 MB / 0.9088 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/0.0585, allocations: 205.4 kB / 0.909 GB, free: 7.469 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003325/0.05883, allocations: 276.4 kB / 0.9092 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002878/0.06171, allocations: 1.743 MB / 0.911 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.813e-05/0.06177, allocations: 11.88 kB / 0.911 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001874/0.06195, allocations: 108 kB / 0.9111 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-05/0.06201, allocations: 60 kB / 0.9111 GB, free: 5.168 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/0.06349, allocations: 0.669 MB / 0.9118 GB, free: 4.477 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01075/0.07424, allocations: 6.109 MB / 0.9177 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/0.07654, allocations: 1.257 MB / 0.919 GB, free: 13 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007582/0.0773, allocations: 437.5 kB / 0.9194 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 8.889e-05/0.07739, allocations: 37.98 kB / 0.9194 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001185/0.07857, allocations: 0.8113 MB / 0.9202 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=207): time 6.141e-06/0.07858, allocations: 0 / 0.9202 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of matching and sorting (n=207): time 0.002672/0.08125, allocations: 1.389 MB / 0.9216 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.08138, allocations: 174.4 kB / 0.9217 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.0825, allocations: 0.8031 MB / 0.9225 GB, free: 9.254 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001956/0.08269, allocations: 89.7 kB / 0.9226 GB, free: 9.16 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009181/0.08361, allocations: 0.9655 MB / 0.9236 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006638/0.08427, allocations: 0.6121 MB / 0.9241 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006706/0.08494, allocations: 433.6 kB / 0.9246 GB, free: 7.133 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.08513, allocations: 476.8 kB / 0.925 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006431/0.08578, allocations: 298.3 kB / 0.9253 GB, free: 6.355 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009628/0.08674, allocations: 0.8532 MB / 0.9261 GB, free: 5.293 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.0882, allocations: 0.9913 MB / 0.9271 GB, free: 4.16 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.08821, allocations: 7.938 kB / 0.9271 GB, free: 4.152 MB / 0.8855 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.001984/0.0902, allocations: 1.368 MB / 0.9284 GB, free: 2.766 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.089e-05/0.09025, allocations: 36.05 kB / 0.9285 GB, free: 2.727 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.09027, allocations: 8 kB / 0.9285 GB, free: 2.719 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.09029, allocations: 16 kB / 0.9285 GB, free: 2.703 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007421/0.09103, allocations: 355.3 kB / 0.9288 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-05/0.09106, allocations: 20 kB / 0.9289 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005753/0.09164, allocations: 195.1 kB / 0.929 GB, free: 2.145 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.449e-05/0.09172, allocations: 63.98 kB / 0.9291 GB, free: 2.082 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007287/0.09245, allocations: 444.7 kB / 0.9295 GB, free: 1.633 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006651/0.09312, allocations: 0.8506 MB / 0.9304 GB, free: 0.5781 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009951/0.09411, allocations: 0.9935 MB / 0.9313 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.027e-06/0.09412, allocations: 0 / 0.9313 GB, free: 15.44 MB / 0.9011 GB Notification: Performance of matching and sorting (n=276) (initialization_lambda0): time 0.00154/0.09566, allocations: 1.355 MB / 0.9327 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/0.0957, allocations: 37.69 kB / 0.9327 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.09571, allocations: 8 kB / 0.9327 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.09572, allocations: 16 kB / 0.9327 GB, free: 14 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006857/0.09641, allocations: 351.9 kB / 0.9331 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.822e-05/0.09644, allocations: 23.94 kB / 0.9331 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005368/0.09698, allocations: 179 kB / 0.9332 GB, free: 13.46 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-05/0.09706, allocations: 59.98 kB / 0.9333 GB, free: 13.4 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 123 ($PRE.PIWitTun.resPro.norTimDel.tunEndDel.u,$PRE.PIWitTun.tunStaDel.u,uniDel2.u_internal,$PRE.uniDel2.u_internal,uniDel1.u_internal,$PRE.uniDel1.u_internal,$whenCondition21,$PRE.PIWitTun.resPro.norTimDel.tunEndDel.t_next,$whenCondition14,$PRE.PIWitTun.tunStaDel.t_next,$whenCondition6,$whenCondition1,$whenCondition2,PIWitTun.resPro.norTimDel.tunEndDel.t_next,PIWitTun.tunStaDel.t_next,uniDel1.sampleTrigger,$whenCondition3,uniDel2.sampleTrigger,$whenCondition4,PIWitTun.rel.hys.y,$PRE.PIWitTun.rel.hys.y,PIWitTun.resPro.triSta,PIWitTun.resPro.onOffPer.timOn.y,$PRE.PIWitTun.resPro.onOffPer.timOn.y,PIWitTun.resPro.onOffPer.timOff.y,$PRE.PIWitTun.resPro.onOffPer.timOff.y,PIWitTun.resPro.onOffPer.timOnRec.yRec.y,$PRE.PIWitTun.resPro.onOffPer.timOnRec.yRec.y,PIWitTun.resPro.onOffPer.timOnRec.samTri.u2,PIWitTun.resPro.onOffPer.timOnRec.samTri.y,PIWitTun.resPro.onOffPer.timOnRec.edgRes.u,$PRE.PIWitTun.resPro.onOffPer.timOnRec.edgRes.u,PIWitTun.resPro.onOffPer.timOnRec.edgThr.u,$PRE.PIWitTun.resPro.onOffPer.timOnRec.edgThr.u,PIWitTun.resPro.onOffPer.timOnRec.edgThr.y,PIWitTun.resPro.onOffPer.timOffRec.yRec.y,$PRE.PIWitTun.resPro.onOffPer.timOffRec.yRec.y,PIWitTun.resPro.onOffPer.timOffRec.samTri.u2,PIWitTun.resPro.onOffPer.timOffRec.samTri.y,PIWitTun.resPro.onOffPer.timOffRec.edgRes.u,$PRE.PIWitTun.resPro.onOffPer.timOffRec.edgRes.u,PIWitTun.resPro.onOffPer.timOffRec.edgThr.u,$PRE.PIWitTun.resPro.onOffPer.timOffRec.edgThr.u,PIWitTun.resPro.onOffPer.timOffRec.edgThr.y,PIWitTun.resPro.halPerRatio.tOnSam.y,$PRE.PIWitTun.resPro.halPerRatio.tOnSam.y,PIWitTun.resPro.halPerRatio.tOffSam.y,$PRE.PIWitTun.resPro.halPerRatio.tOffSam.y,PIWitTun.resPro.norTimDel.gre.greHys.y,$PRE.PIWitTun.resPro.norTimDel.gre.greHys.y,PIWitTun.resPro.norTimDel.or2.y,PIWitTun.resPro.norTimDel.tunEndDel.u,PIWitTun.resPro.norTimDel.tunEndDel.y,PIWitTun.resPro.tunMon.samAddtOntOff.y,$PRE.PIWitTun.resPro.tunMon.samAddtOntOff.y,PIWitTun.resPro.tunMon.tInc.y,PIWitTun.resPro.tunMon.tDec.y,PIWitTun.resPro.tunMon.edgTunSta.u,$PRE.PIWitTun.resPro.tunMon.edgTunSta.u,PIWitTun.resPro.tunMon.edgTunEnd.u,$PRE.PIWitTun.resPro.tunMon.edgTunEnd.u,PIWitTun.resPro.tunMon.greThr1.y,PIWitTun.conProMod.triEnd,PIWitTun.conProMod.tunSta,PIWitTun.conProMod.timConDel.gre1.greHys.y,$PRE.PIWitTun.conProMod.timConDel.gre1.greHys.y,PIWitTun.conProMod.timConDel.edg.u,$PRE.PIWitTun.conProMod.timConDel.edg.u,PIWitTun.conProMod.samK.y,$PRE.PIWitTun.conProMod.samK.y,PIWitTun.conProMod.samL.y,$PRE.PIWitTun.conProMod.samL.y,PIWitTun.conProMod.samtOn.y,$PRE.PIWitTun.conProMod.samtOn.y,PIWitTun.conProMod.samT.y,$PRE.PIWitTun.conProMod.samT.y,PIWitTun.conProMod.samTau.y,$PRE.PIWitTun.conProMod.samTau.y,PIWitTun.conProMod.not1.y,PIWitTun.inTunPro.u,PIWitTun.inTunPro.clr,PIWitTun.inTunPro.y,$PRE.PIWitTun.inTunPro.y,PIWitTun.samk.y,$PRE.PIWitTun.samk.y,PIWitTun.samTi.trigger,PIWitTun.samTi.y,$PRE.PIWitTun.samTi.y,PIWitTun.nand.u2,PIWitTun.nand.y,PIWitTun.edgReq.u,$PRE.PIWitTun.edgReq.u,PIWitTun.tunStaDel.u,PIWitTun.tunStaDel.y,PIWitTun.sam_u_s.y,$PRE.PIWitTun.sam_u_s.y,PIWitTun.greThr.greHys.y,$PRE.PIWitTun.greThr.greHys.y,PIWitTun.falEdg.y,PIWitTun.falEdg.not_u,$PRE.PIWitTun.falEdg.not_u,uniDel2.y,$PRE.uniDel2.y,autTunSig.y,$PRE.autTunSig.y,$whenCondition5,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition22,uniDel1.y,$PRE.uniDel1.y,PIWitTun.gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 273 * 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.0004856/0.09754, allocations: 473.6 kB / 0.9338 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/0.09779, allocations: 223 kB / 0.934 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.09913, allocations: 1.142 MB / 0.9351 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.09914, allocations: 27.88 kB / 0.9351 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.09914, allocations: 8 kB / 0.9351 GB, free: 11.52 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/0.09916, allocations: 15.94 kB / 0.9351 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003654/0.1028, allocations: 3.02 MB / 0.9381 GB, free: 8.387 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.1028, allocations: 0 / 0.9381 GB, free: 8.387 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005/0.1033, allocations: 223.7 kB / 0.9383 GB, free: 8.168 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.1033, allocations: 8 kB / 0.9383 GB, free: 8.16 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.151e-05/0.1034, allocations: 51.97 kB / 0.9383 GB, free: 8.109 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.08e-05/0.1034, allocations: 15.92 kB / 0.9384 GB, free: 8.094 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.1034, allocations: 4 kB / 0.9384 GB, free: 8.09 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.1053, allocations: 1.765 MB / 0.9401 GB, free: 6.258 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004222/0.1057, allocations: 330.5 kB / 0.9404 GB, free: 5.934 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.1058, allocations: 55.98 kB / 0.9405 GB, free: 5.879 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.1062, allocations: 63.95 kB / 0.9405 GB, free: 5.816 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002001/0.1064, allocations: 161.6 kB / 0.9407 GB, free: 5.656 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.117e-05/0.1064, allocations: 55.97 kB / 0.9407 GB, free: 5.602 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003381/0.1068, allocations: 446.7 kB / 0.9412 GB, free: 5.164 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.1068, allocations: 0 / 0.9412 GB, free: 5.164 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001799/0.1086, allocations: 0.9221 MB / 0.9421 GB, free: 4.238 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (derivative2.x,derivative1.x,PI.D.x,PI.I.y,PIWitTun.conProMod.gain.Iy.y,PIWitTun.con.I.y) * Number of discrete variables: 85 (PIWitTun.resPro.triSta,PIWitTun.samTi.trigger,PIWitTun.conProMod.triEnd,PIWitTun.tunStaDel.u,PIWitTun.resPro.norTimDel.tunEndDel.u,PIWitTun.inTunPro.clr,PIWitTun.resPro.tunMon.greThr1.y,PIWitTun.resPro.onOffPer.timOnRec.samTri.y,PIWitTun.resPro.onOffPer.timOffRec.samTri.y,uniDel2.sampleTrigger,uniDel1.sampleTrigger,PIWitTun.inTunPro.u,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,autTunSig.y,uniDel1.u_internal,uniDel1.y,uniDel2.u_internal,uniDel2.y,PIWitTun.falEdg.not_u,PIWitTun.falEdg.y,PIWitTun.greThr.greHys.y,PIWitTun.sam_u_s.y,PIWitTun.tunStaDel.t_next,PIWitTun.tunStaDel.y,PIWitTun.edgReq.u,PIWitTun.nand.y,PIWitTun.nand.u2,PIWitTun.samTi.y,PIWitTun.samk.y,PIWitTun.inTunPro.y,PIWitTun.conProMod.not1.y,PIWitTun.conProMod.samTau.y,PIWitTun.conProMod.samT.y,PIWitTun.conProMod.samtOn.y,PIWitTun.conProMod.samL.y,PIWitTun.conProMod.samK.y,PIWitTun.conProMod.timConDel.edg.u,PIWitTun.conProMod.timConDel.gre1.greHys.y,PIWitTun.conProMod.tunSta,PIWitTun.resPro.tunMon.edgTunEnd.u,PIWitTun.resPro.tunMon.edgTunSta.u,PIWitTun.resPro.tunMon.tDec.y,PIWitTun.resPro.tunMon.tInc.y,PIWitTun.resPro.tunMon.samAddtOntOff.y,PIWitTun.resPro.norTimDel.tunEndDel.t_next,PIWitTun.resPro.norTimDel.tunEndDel.y,PIWitTun.resPro.norTimDel.or2.y,PIWitTun.resPro.norTimDel.gre.greHys.y,PIWitTun.resPro.halPerRatio.tOffSam.y,PIWitTun.resPro.halPerRatio.tOnSam.y,PIWitTun.resPro.onOffPer.timOffRec.edgThr.y,PIWitTun.resPro.onOffPer.timOffRec.edgThr.u,PIWitTun.resPro.onOffPer.timOffRec.edgRes.u,PIWitTun.resPro.onOffPer.timOffRec.samTri.u2,PIWitTun.resPro.onOffPer.timOffRec.yRec.y,PIWitTun.resPro.onOffPer.timOnRec.edgThr.y,PIWitTun.resPro.onOffPer.timOnRec.edgThr.u,PIWitTun.resPro.onOffPer.timOnRec.edgRes.u,PIWitTun.resPro.onOffPer.timOnRec.samTri.u2,PIWitTun.resPro.onOffPer.timOnRec.yRec.y,PIWitTun.resPro.onOffPer.timOff.y,PIWitTun.resPro.onOffPer.timOn.y,PIWitTun.rel.hys.y,PIWitTun.gre.y) * Number of discrete states: 17 (PIWitTun.resPro.norTimDel.tunEndDel.t_next,PIWitTun.tunStaDel.t_next,uniDel1.u_internal,uniDel2.u_internal,PIWitTun.greThr.greHys.y,PIWitTun.falEdg.not_u,PIWitTun.edgReq.u,PIWitTun.resPro.onOffPer.timOffRec.edgRes.u,PIWitTun.resPro.onOffPer.timOnRec.edgRes.u,PIWitTun.rel.hys.y,PIWitTun.resPro.onOffPer.timOffRec.edgThr.u,PIWitTun.resPro.onOffPer.timOnRec.edgThr.u,PIWitTun.resPro.tunMon.edgTunEnd.u,PIWitTun.conProMod.timConDel.gre1.greHys.y,PIWitTun.conProMod.timConDel.edg.u,PIWitTun.resPro.norTimDel.gre.greHys.y,PIWitTun.resPro.tunMon.edgTunSta.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 182 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 25 * 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.0003608/0.1089, allocations: 238.2 kB / 0.9423 GB, free: 3.988 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002316/0.1112, allocations: 1.764 MB / 0.944 GB, free: 2.184 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.1112, allocations: 4 kB / 0.944 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005405/0.1118, allocations: 0.5221 MB / 0.9445 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008695/0.1127, allocations: 333.9 kB / 0.9448 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004302/0.117, allocations: 3.239 MB / 0.948 GB, free: 14 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.1172, allocations: 349 kB / 0.9483 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0007927/0.118, allocations: 240.7 kB / 0.9486 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008483/0.1189, allocations: 450 kB / 0.949 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of SimCode: time 2.074e-06/0.1189, allocations: 0 / 0.949 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of Templates: time 0.03803/0.1569, allocations: 21.74 MB / 0.9702 GB, free: 7.551 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Validation_DirectActingPIWithFirstOrderAMIGO.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.3591129030101]