Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001543/0.001543, allocations: 173 kB / 23.49 MB, free: 1.059 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.9198/0.9198, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.071/2.071, allocations: 429.5 MB / 0.6736 GB, free: 4.059 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PID.u_s|PID.u_m|PIDWitTun.u_s|PIDWitTun.u_m|autTunSig.y|PIDWitTun.inTunPro.y|PIDWitTun.con.y|PIDWitTun.con.k|PIDWitTun.con.Ti|PIDWitTun.con.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PID.u_s|PID.u_m|PIDWitTun.u_s|PIDWitTun.u_m|autTunSig.y|PIDWitTun.inTunPro.y|PIDWitTun.con.y|PIDWitTun.con.k|PIDWitTun.con.Ti|PIDWitTun.con.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.237e-06/3.237e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.198e-05, allocations: 5.547 kB / 0.8782 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO): time 0.00841/0.008442, allocations: 7.675 MB / 0.8857 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005849/0.01429, allocations: 3.192 MB / 0.8888 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001926/0.01622, allocations: 64.84 kB / 0.8888 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0008143/0.01703, allocations: 363.8 kB / 0.8892 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.01812, allocations: 329.3 kB / 0.8895 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.02035, allocations: 1.32 MB / 0.8908 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002838/0.02318, allocations: 3.395 MB / 0.8941 GB, free: 6.336 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001947/0.02513, allocations: 1.393 MB / 0.8955 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/0.02727, allocations: 1.848 MB / 0.8973 GB, free: 3.027 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006715/0.02794, allocations: 0.8746 MB / 0.8981 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.000374/0.02832, allocations: 452 kB / 0.8986 GB, free: 1.711 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004409/0.02876, allocations: 464 kB / 0.899 GB, free: 1.258 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004192/0.02918, allocations: 0.78 MB / 0.8998 GB, free: 488 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0006131/0.02979, allocations: 0.9508 MB / 0.9007 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.03189, allocations: 2.242 MB / 0.9029 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.0319, allocations: 1.594 kB / 0.9029 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.462e-06/0.0319, allocations: 0 / 0.9029 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.917e-05/0.03192, allocations: 0 / 0.9029 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: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.003561/0.03548, allocations: 3.508 MB / 0.9063 GB, free: 9.684 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.03552, allocations: 8.031 kB / 0.9063 GB, free: 9.676 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005221/0.03604, allocations: 0.5069 MB / 0.9068 GB, free: 9.168 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.03747, allocations: 1.5 MB / 0.9083 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001152/0.03759, allocations: 213.5 kB / 0.9085 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002152/0.0378, allocations: 284.2 kB / 0.9087 GB, free: 7.145 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/0.03993, allocations: 1.957 MB / 0.9107 GB, free: 5.07 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.03996, allocations: 0 / 0.9107 GB, free: 5.07 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.04008, allocations: 112 kB / 0.9108 GB, free: 4.961 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/0.04012, allocations: 60 kB / 0.9108 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.0418, allocations: 0.8873 MB / 0.9117 GB, free: 3.996 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006017/0.04782, allocations: 5.796 MB / 0.9173 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002098/0.04992, allocations: 1.382 MB / 0.9187 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000671/0.05059, allocations: 0.4976 MB / 0.9192 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.006e-05/0.05066, allocations: 41.98 kB / 0.9192 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009234/0.05158, allocations: 0.9073 MB / 0.9201 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=211): time 3.597e-06/0.05158, allocations: 0 / 0.9201 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of matching and sorting (n=211): time 0.002061/0.05364, allocations: 1.623 MB / 0.9217 GB, free: 9.582 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.156e-05/0.05374, allocations: 182.4 kB / 0.9219 GB, free: 9.375 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007334/0.05447, allocations: 0.8234 MB / 0.9227 GB, free: 8.523 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.05458, allocations: 97.69 kB / 0.9228 GB, free: 8.422 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000485/0.05506, allocations: 0.9697 MB / 0.9237 GB, free: 7.441 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/0.0554, allocations: 0.6238 MB / 0.9243 GB, free: 6.812 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004071/0.0558, allocations: 414 kB / 0.9247 GB, free: 6.398 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000361/0.05616, allocations: 488.7 kB / 0.9252 GB, free: 5.918 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006194/0.05678, allocations: 386.5 kB / 0.9256 GB, free: 5.523 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007766/0.05756, allocations: 0.8912 MB / 0.9264 GB, free: 4.441 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001159/0.05872, allocations: 1.064 MB / 0.9275 GB, free: 3.258 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.05873, allocations: 4 kB / 0.9275 GB, free: 3.254 MB / 0.8855 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.001777/0.0605, allocations: 1.508 MB / 0.9289 GB, free: 1.727 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/0.06054, allocations: 37.7 kB / 0.929 GB, free: 1.684 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/0.06056, allocations: 8.781 kB / 0.929 GB, free: 1.676 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.06058, allocations: 16 kB / 0.929 GB, free: 1.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007294/0.06131, allocations: 359.3 kB / 0.9293 GB, free: 1.309 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-05/0.06133, allocations: 16 kB / 0.9294 GB, free: 1.293 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004758/0.06181, allocations: 190.9 kB / 0.9295 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.931e-05/0.0619, allocations: 83.92 kB / 0.9296 GB, free: 1.023 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008371/0.06273, allocations: 0.5202 MB / 0.9301 GB, free: 500 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007957/0.06353, allocations: 0.89 MB / 0.931 GB, free: 15.41 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001443/0.06497, allocations: 1.063 MB / 0.932 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.841e-06/0.06498, allocations: 0 / 0.932 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of matching and sorting (n=279) (initialization_lambda0): time 0.001807/0.06678, allocations: 1.507 MB / 0.9335 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.06682, allocations: 37.7 kB / 0.9335 GB, free: 12.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.06683, allocations: 8 kB / 0.9335 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.06684, allocations: 16 kB / 0.9336 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006857/0.06753, allocations: 347.3 kB / 0.9339 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.06754, allocations: 16 kB / 0.9339 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004843/0.06803, allocations: 195.1 kB / 0.9341 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.31e-05/0.06811, allocations: 79.98 kB / 0.9342 GB, free: 12.01 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 127 ($PRE.PIDWitTun.resPro.norTimDel.tunEndDel.u,$PRE.PIDWitTun.tunStaDel.u,uniDel1.u_internal,$PRE.uniDel1.u_internal,uniDel2.u_internal,$PRE.uniDel2.u_internal,$whenCondition21,$whenCondition19,$whenCondition20,$PRE.PIDWitTun.tunStaDel.t_next,$whenCondition13,$PRE.PIDWitTun.resPro.norTimDel.tunEndDel.t_next,$whenCondition6,uniDel2.sampleTrigger,$whenCondition17,uniDel1.sampleTrigger,$whenCondition18,PIDWitTun.tunStaDel.t_next,PIDWitTun.resPro.norTimDel.tunEndDel.t_next,PIDWitTun.con.greThrkTd.greHys.y,$PRE.PIDWitTun.con.greThrkTd.greHys.y,PIDWitTun.rel.hys.y,$PRE.PIDWitTun.rel.hys.y,PIDWitTun.resPro.triSta,PIDWitTun.resPro.onOffPer.timOn.y,$PRE.PIDWitTun.resPro.onOffPer.timOn.y,PIDWitTun.resPro.onOffPer.timOff.y,$PRE.PIDWitTun.resPro.onOffPer.timOff.y,PIDWitTun.resPro.onOffPer.timOnRec.yRec.y,$PRE.PIDWitTun.resPro.onOffPer.timOnRec.yRec.y,PIDWitTun.resPro.onOffPer.timOnRec.samTri.u2,PIDWitTun.resPro.onOffPer.timOnRec.samTri.y,PIDWitTun.resPro.onOffPer.timOnRec.edgRes.u,$PRE.PIDWitTun.resPro.onOffPer.timOnRec.edgRes.u,PIDWitTun.resPro.onOffPer.timOnRec.edgThr.u,$PRE.PIDWitTun.resPro.onOffPer.timOnRec.edgThr.u,PIDWitTun.resPro.onOffPer.timOnRec.edgThr.y,PIDWitTun.resPro.onOffPer.timOffRec.yRec.y,$PRE.PIDWitTun.resPro.onOffPer.timOffRec.yRec.y,PIDWitTun.resPro.onOffPer.timOffRec.samTri.u2,PIDWitTun.resPro.onOffPer.timOffRec.samTri.y,PIDWitTun.resPro.onOffPer.timOffRec.edgRes.u,$PRE.PIDWitTun.resPro.onOffPer.timOffRec.edgRes.u,PIDWitTun.resPro.onOffPer.timOffRec.edgThr.u,$PRE.PIDWitTun.resPro.onOffPer.timOffRec.edgThr.u,PIDWitTun.resPro.onOffPer.timOffRec.edgThr.y,PIDWitTun.resPro.halPerRatio.tOnSam.y,$PRE.PIDWitTun.resPro.halPerRatio.tOnSam.y,PIDWitTun.resPro.halPerRatio.tOffSam.y,$PRE.PIDWitTun.resPro.halPerRatio.tOffSam.y,PIDWitTun.resPro.norTimDel.gre.greHys.y,$PRE.PIDWitTun.resPro.norTimDel.gre.greHys.y,PIDWitTun.resPro.norTimDel.or2.y,PIDWitTun.resPro.norTimDel.tunEndDel.u,PIDWitTun.resPro.norTimDel.tunEndDel.y,PIDWitTun.resPro.tunMon.samAddtOntOff.y,$PRE.PIDWitTun.resPro.tunMon.samAddtOntOff.y,PIDWitTun.resPro.tunMon.tInc.y,PIDWitTun.resPro.tunMon.tDec.y,PIDWitTun.resPro.tunMon.edgTunSta.u,$PRE.PIDWitTun.resPro.tunMon.edgTunSta.u,PIDWitTun.resPro.tunMon.edgTunEnd.u,$PRE.PIDWitTun.resPro.tunMon.edgTunEnd.u,PIDWitTun.resPro.tunMon.greThr1.y,PIDWitTun.conProMod.triEnd,PIDWitTun.conProMod.tunSta,PIDWitTun.conProMod.timConDel.gre1.greHys.y,$PRE.PIDWitTun.conProMod.timConDel.gre1.greHys.y,PIDWitTun.conProMod.timConDel.edg.u,$PRE.PIDWitTun.conProMod.timConDel.edg.u,PIDWitTun.conProMod.samK.y,$PRE.PIDWitTun.conProMod.samK.y,PIDWitTun.conProMod.samL.y,$PRE.PIDWitTun.conProMod.samL.y,PIDWitTun.conProMod.samtOn.y,$PRE.PIDWitTun.conProMod.samtOn.y,PIDWitTun.conProMod.samT.y,$PRE.PIDWitTun.conProMod.samT.y,PIDWitTun.conProMod.samTau.y,$PRE.PIDWitTun.conProMod.samTau.y,PIDWitTun.conProMod.not1.y,PIDWitTun.inTunPro.u,PIDWitTun.inTunPro.clr,PIDWitTun.inTunPro.y,$PRE.PIDWitTun.inTunPro.y,PIDWitTun.samk.y,$PRE.PIDWitTun.samk.y,PIDWitTun.samTi.y,$PRE.PIDWitTun.samTi.y,PIDWitTun.samTd.trigger,PIDWitTun.samTd.y,$PRE.PIDWitTun.samTd.y,PIDWitTun.nand.u2,PIDWitTun.nand.y,PIDWitTun.edgReq.u,$PRE.PIDWitTun.edgReq.u,PIDWitTun.tunStaDel.u,PIDWitTun.tunStaDel.y,PIDWitTun.sam_u_s.y,$PRE.PIDWitTun.sam_u_s.y,PIDWitTun.greThr.greHys.y,$PRE.PIDWitTun.greThr.greHys.y,PIDWitTun.falEdg.y,PIDWitTun.falEdg.not_u,$PRE.PIDWitTun.falEdg.not_u,uniDel2.y,$PRE.uniDel2.y,autTunSig.y,$PRE.autTunSig.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition16,$whenCondition22,uniDel1.y,$PRE.uniDel1.y,PIDWitTun.gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (277): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004302/0.06854, allocations: 478.2 kB / 0.9346 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.06877, allocations: 223 kB / 0.9348 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.07038, allocations: 1.306 MB / 0.9361 GB, free: 9.996 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.07039, allocations: 23.94 kB / 0.9361 GB, free: 9.973 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.0704, allocations: 0 / 0.9361 GB, free: 9.973 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.07041, allocations: 11.95 kB / 0.9362 GB, free: 9.961 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004165/0.07458, allocations: 3.435 MB / 0.9395 GB, free: 6.418 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.07458, allocations: 4.375 kB / 0.9395 GB, free: 6.414 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005021/0.07509, allocations: 227.7 kB / 0.9397 GB, free: 6.191 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/0.0751, allocations: 11.94 kB / 0.9397 GB, free: 6.18 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.964e-05/0.07517, allocations: 55.95 kB / 0.9398 GB, free: 6.125 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.237e-05/0.07518, allocations: 19.94 kB / 0.9398 GB, free: 6.105 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.07518, allocations: 4 kB / 0.9398 GB, free: 6.102 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/0.07746, allocations: 1.988 MB / 0.9418 GB, free: 4.047 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004591/0.07792, allocations: 334.5 kB / 0.9421 GB, free: 3.719 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.07806, allocations: 67.92 kB / 0.9421 GB, free: 3.652 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/0.07836, allocations: 63.95 kB / 0.9422 GB, free: 3.59 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/0.07858, allocations: 173.6 kB / 0.9424 GB, free: 3.418 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.289e-05/0.07866, allocations: 71.97 kB / 0.9424 GB, free: 3.348 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004611/0.07912, allocations: 499 kB / 0.9429 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.07912, allocations: 0 / 0.9429 GB, free: 2.848 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001619/0.08074, allocations: 0.9416 MB / 0.9438 GB, free: 1.902 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (derivative2.x,derivative1.x,PID.D.x,PID.I.y,PIDWitTun.conProMod.gain.Iy.y,PIDWitTun.con.D.x,PIDWitTun.con.I.y) * Number of discrete variables: 87 (PIDWitTun.samTd.trigger,PIDWitTun.conProMod.triEnd,PIDWitTun.resPro.norTimDel.tunEndDel.u,PIDWitTun.tunStaDel.u,PIDWitTun.inTunPro.clr,PIDWitTun.resPro.tunMon.greThr1.y,PIDWitTun.resPro.triSta,PIDWitTun.resPro.onOffPer.timOnRec.samTri.y,PIDWitTun.resPro.onOffPer.timOffRec.samTri.y,PIDWitTun.inTunPro.u,uniDel1.sampleTrigger,uniDel2.sampleTrigger,$whenCondition22,$whenCondition21,$whenCondition19,$whenCondition20,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,autTunSig.y,uniDel1.u_internal,uniDel1.y,uniDel2.u_internal,uniDel2.y,PIDWitTun.falEdg.not_u,PIDWitTun.falEdg.y,PIDWitTun.greThr.greHys.y,PIDWitTun.sam_u_s.y,PIDWitTun.tunStaDel.t_next,PIDWitTun.tunStaDel.y,PIDWitTun.edgReq.u,PIDWitTun.nand.y,PIDWitTun.nand.u2,PIDWitTun.samTd.y,PIDWitTun.samTi.y,PIDWitTun.samk.y,PIDWitTun.inTunPro.y,PIDWitTun.conProMod.not1.y,PIDWitTun.conProMod.samTau.y,PIDWitTun.conProMod.samT.y,PIDWitTun.conProMod.samtOn.y,PIDWitTun.conProMod.samL.y,PIDWitTun.conProMod.samK.y,PIDWitTun.conProMod.timConDel.edg.u,PIDWitTun.conProMod.timConDel.gre1.greHys.y,PIDWitTun.conProMod.tunSta,PIDWitTun.resPro.tunMon.edgTunEnd.u,PIDWitTun.resPro.tunMon.edgTunSta.u,PIDWitTun.resPro.tunMon.tDec.y,PIDWitTun.resPro.tunMon.tInc.y,PIDWitTun.resPro.tunMon.samAddtOntOff.y,PIDWitTun.resPro.norTimDel.tunEndDel.t_next,PIDWitTun.resPro.norTimDel.tunEndDel.y,PIDWitTun.resPro.norTimDel.or2.y,PIDWitTun.resPro.norTimDel.gre.greHys.y,PIDWitTun.resPro.halPerRatio.tOffSam.y,PIDWitTun.resPro.halPerRatio.tOnSam.y,PIDWitTun.resPro.onOffPer.timOffRec.edgThr.y,PIDWitTun.resPro.onOffPer.timOffRec.edgThr.u,PIDWitTun.resPro.onOffPer.timOffRec.edgRes.u,PIDWitTun.resPro.onOffPer.timOffRec.samTri.u2,PIDWitTun.resPro.onOffPer.timOffRec.yRec.y,PIDWitTun.resPro.onOffPer.timOnRec.edgThr.y,PIDWitTun.resPro.onOffPer.timOnRec.edgThr.u,PIDWitTun.resPro.onOffPer.timOnRec.edgRes.u,PIDWitTun.resPro.onOffPer.timOnRec.samTri.u2,PIDWitTun.resPro.onOffPer.timOnRec.yRec.y,PIDWitTun.resPro.onOffPer.timOff.y,PIDWitTun.resPro.onOffPer.timOn.y,PIDWitTun.rel.hys.y,PIDWitTun.con.greThrkTd.greHys.y,PIDWitTun.gre.y) * Number of discrete states: 18 (PIDWitTun.tunStaDel.t_next,PIDWitTun.resPro.norTimDel.tunEndDel.t_next,PIDWitTun.resPro.onOffPer.timOnRec.edgRes.u,PIDWitTun.resPro.onOffPer.timOffRec.edgRes.u,PIDWitTun.edgReq.u,uniDel1.u_internal,uniDel2.u_internal,PIDWitTun.rel.hys.y,PIDWitTun.greThr.greHys.y,PIDWitTun.falEdg.not_u,PIDWitTun.resPro.onOffPer.timOffRec.edgThr.u,PIDWitTun.resPro.onOffPer.timOnRec.edgThr.u,PIDWitTun.resPro.tunMon.edgTunSta.u,PIDWitTun.resPro.tunMon.edgTunEnd.u,PIDWitTun.resPro.norTimDel.gre.greHys.y,PIDWitTun.conProMod.timConDel.gre1.greHys.y,PIDWitTun.conProMod.timConDel.edg.u,PIDWitTun.con.greThrkTd.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (211): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 26 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003069/0.08105, allocations: 252.9 kB / 0.9441 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002991/0.08404, allocations: 1.983 MB / 0.946 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.08404, allocations: 4 kB / 0.946 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007196/0.08476, allocations: 0.6082 MB / 0.9466 GB, free: 15 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.08581, allocations: 333.7 kB / 0.9469 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004249/0.09006, allocations: 3.357 MB / 0.9502 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.09033, allocations: 353.3 kB / 0.9505 GB, free: 10.85 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000738/0.09107, allocations: 241 kB / 0.9508 GB, free: 10.61 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/0.09136, allocations: 152.5 kB / 0.9509 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of SimCode: time 1.683e-06/0.09136, allocations: 0 / 0.9509 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of Templates: time 0.03376/0.1251, allocations: 20.76 MB / 0.9712 GB, free: 6.051 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Validation_DirectActingPIDWithFirstOrderAMIGO.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.981720376992598]