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.0009611/0.0009611, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.0009926/0.0009926, allocations: 173 kB / 23.36 MB, free: 1.133 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.9938/0.9938, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.337/2.337, allocations: 438.8 MB / 0.6827 GB, free: 13.54 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 1.403e-06/1.403e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.956e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO): time 0.007286/0.007305, allocations: 7.423 MB / 0.8458 GB, free: 6.719 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00582/0.01313, allocations: 3.343 MB / 0.8491 GB, free: 3.367 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.01421, allocations: 59.69 kB / 0.8491 GB, free: 3.309 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005957/0.0148, allocations: 367.8 kB / 0.8495 GB, free: 2.945 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0006972/0.0155, allocations: 340.7 kB / 0.8498 GB, free: 2.609 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.01694, allocations: 1.315 MB / 0.8511 GB, free: 1.293 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.002168/0.01911, allocations: 3.397 MB / 0.8544 GB, free: 13.89 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001442/0.02055, allocations: 1.416 MB / 0.8558 GB, free: 12.39 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.02187, allocations: 1.891 MB / 0.8576 GB, free: 10.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000622/0.02249, allocations: 0.833 MB / 0.8585 GB, free: 9.664 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003222/0.02281, allocations: 428 kB / 0.8589 GB, free: 9.246 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003053/0.02312, allocations: 447.9 kB / 0.8593 GB, free: 8.809 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003548/0.02347, allocations: 0.7478 MB / 0.86 GB, free: 8.059 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005774/0.02405, allocations: 0.9196 MB / 0.8609 GB, free: 7.137 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001609/0.02566, allocations: 2.172 MB / 0.863 GB, free: 4.957 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.02566, allocations: 0 / 0.863 GB, free: 4.957 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.32e-07/0.02566, allocations: 0 / 0.863 GB, free: 4.957 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.787e-05/0.02568, allocations: 0 / 0.863 GB, free: 4.957 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: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.002942/0.02862, allocations: 2.662 MB / 0.8656 GB, free: 2.238 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.02866, allocations: 12.61 kB / 0.8657 GB, free: 2.227 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00044/0.0291, allocations: 412.6 kB / 0.866 GB, free: 1.824 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.03028, allocations: 1.027 MB / 0.8671 GB, free: 0.7656 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.03039, allocations: 201.5 kB / 0.8672 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.03058, allocations: 280.4 kB / 0.8675 GB, free: 300 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.03211, allocations: 1.825 MB / 0.8693 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.661e-05/0.03215, allocations: 3.938 kB / 0.8693 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.191e-05/0.03224, allocations: 108 kB / 0.8694 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/0.03227, allocations: 64 kB / 0.8695 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007059/0.03298, allocations: 0.5721 MB / 0.87 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004821/0.0378, allocations: 4.469 MB / 0.8744 GB, free: 9.043 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.039, allocations: 1.151 MB / 0.8755 GB, free: 7.875 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003898/0.03939, allocations: 395.9 kB / 0.8759 GB, free: 7.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.69e-05/0.03946, allocations: 41.98 kB / 0.8759 GB, free: 7.441 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006908/0.04015, allocations: 0.8563 MB / 0.8768 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=211): time 3.196e-06/0.04015, allocations: 0 / 0.8768 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of matching and sorting (n=211): time 0.001069/0.04122, allocations: 1.003 MB / 0.8777 GB, free: 5.523 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.04137, allocations: 182.4 kB / 0.8779 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005104/0.04188, allocations: 0.7651 MB / 0.8787 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.489e-05/0.04197, allocations: 97.69 kB / 0.8788 GB, free: 4.426 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003668/0.04234, allocations: 0.7853 MB / 0.8795 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004547/0.0428, allocations: 0.6315 MB / 0.8801 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000354/0.04315, allocations: 427.8 kB / 0.8805 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.722e-05/0.04322, allocations: 305.1 kB / 0.8808 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003351/0.04355, allocations: 263.7 kB / 0.8811 GB, free: 1.992 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004856/0.04404, allocations: 0.7276 MB / 0.8818 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000754/0.04479, allocations: 0.9073 MB / 0.8827 GB, free: 104 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.0448, allocations: 4 kB / 0.8827 GB, free: 100 kB / 0.8386 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.001283/0.04608, allocations: 1.037 MB / 0.8837 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.984e-05/0.04612, allocations: 37.7 kB / 0.8837 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.04613, allocations: 4.875 kB / 0.8837 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.04616, allocations: 20 kB / 0.8838 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006398/0.0468, allocations: 359.4 kB / 0.8841 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.66e-05/0.04682, allocations: 23.92 kB / 0.8841 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/0.04722, allocations: 202.8 kB / 0.8843 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.96e-05/0.04729, allocations: 55.98 kB / 0.8844 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004911/0.04778, allocations: 378.1 kB / 0.8847 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004756/0.04826, allocations: 0.7243 MB / 0.8854 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007179/0.04898, allocations: 0.9088 MB / 0.8863 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.671e-06/0.04898, allocations: 4 kB / 0.8863 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.0009591/0.04994, allocations: 1.027 MB / 0.8873 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.04997, allocations: 42.56 kB / 0.8874 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.04998, allocations: 8 kB / 0.8874 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.04999, allocations: 16 kB / 0.8874 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000612/0.05061, allocations: 351.7 kB / 0.8877 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.05062, allocations: 19.94 kB / 0.8878 GB, free: 10.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/0.051, allocations: 187 kB / 0.8879 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.51e-05/0.05106, allocations: 59.98 kB / 0.888 GB, free: 10.34 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 127 ($PRE.PIDWitTun.resPro.norTimDel.tunEndDel.u,$PRE.PIDWitTun.tunStaDel.u,uniDel1.u_internal,$PRE.uniDel1.u_internal,uniDel2.u_internal,$PRE.uniDel2.u_internal,$whenCondition21,$whenCondition19,$whenCondition20,$PRE.PIDWitTun.tunStaDel.t_next,$whenCondition13,$PRE.PIDWitTun.resPro.norTimDel.tunEndDel.t_next,$whenCondition6,uniDel2.sampleTrigger,$whenCondition17,uniDel1.sampleTrigger,$whenCondition18,PIDWitTun.tunStaDel.t_next,PIDWitTun.resPro.norTimDel.tunEndDel.t_next,autTunSig.y,$PRE.autTunSig.y,uniDel2.y,$PRE.uniDel2.y,PIDWitTun.falEdg.not_u,$PRE.PIDWitTun.falEdg.not_u,PIDWitTun.falEdg.y,PIDWitTun.greThr.greHys.y,$PRE.PIDWitTun.greThr.greHys.y,PIDWitTun.sam_u_s.y,$PRE.PIDWitTun.sam_u_s.y,PIDWitTun.tunStaDel.y,PIDWitTun.tunStaDel.u,PIDWitTun.edgReq.u,$PRE.PIDWitTun.edgReq.u,PIDWitTun.nand.y,PIDWitTun.nand.u2,PIDWitTun.samTd.y,$PRE.PIDWitTun.samTd.y,PIDWitTun.samTd.trigger,PIDWitTun.samTi.y,$PRE.PIDWitTun.samTi.y,PIDWitTun.samk.y,$PRE.PIDWitTun.samk.y,PIDWitTun.inTunPro.y,$PRE.PIDWitTun.inTunPro.y,PIDWitTun.inTunPro.clr,PIDWitTun.inTunPro.u,PIDWitTun.conProMod.not1.y,PIDWitTun.conProMod.samTau.y,$PRE.PIDWitTun.conProMod.samTau.y,PIDWitTun.conProMod.samT.y,$PRE.PIDWitTun.conProMod.samT.y,PIDWitTun.conProMod.samtOn.y,$PRE.PIDWitTun.conProMod.samtOn.y,PIDWitTun.conProMod.samL.y,$PRE.PIDWitTun.conProMod.samL.y,PIDWitTun.conProMod.samK.y,$PRE.PIDWitTun.conProMod.samK.y,PIDWitTun.conProMod.timConDel.edg.u,$PRE.PIDWitTun.conProMod.timConDel.edg.u,PIDWitTun.conProMod.timConDel.gre1.greHys.y,$PRE.PIDWitTun.conProMod.timConDel.gre1.greHys.y,PIDWitTun.conProMod.tunSta,PIDWitTun.conProMod.triEnd,PIDWitTun.resPro.tunMon.greThr1.y,PIDWitTun.resPro.tunMon.edgTunEnd.u,$PRE.PIDWitTun.resPro.tunMon.edgTunEnd.u,PIDWitTun.resPro.tunMon.edgTunSta.u,$PRE.PIDWitTun.resPro.tunMon.edgTunSta.u,PIDWitTun.resPro.tunMon.tDec.y,PIDWitTun.resPro.tunMon.tInc.y,PIDWitTun.resPro.tunMon.samAddtOntOff.y,$PRE.PIDWitTun.resPro.tunMon.samAddtOntOff.y,PIDWitTun.resPro.norTimDel.tunEndDel.y,PIDWitTun.resPro.norTimDel.tunEndDel.u,PIDWitTun.resPro.norTimDel.or2.y,PIDWitTun.resPro.norTimDel.gre.greHys.y,$PRE.PIDWitTun.resPro.norTimDel.gre.greHys.y,PIDWitTun.resPro.halPerRatio.tOffSam.y,$PRE.PIDWitTun.resPro.halPerRatio.tOffSam.y,PIDWitTun.resPro.halPerRatio.tOnSam.y,$PRE.PIDWitTun.resPro.halPerRatio.tOnSam.y,PIDWitTun.resPro.onOffPer.timOffRec.edgThr.y,PIDWitTun.resPro.onOffPer.timOffRec.edgThr.u,$PRE.PIDWitTun.resPro.onOffPer.timOffRec.edgThr.u,PIDWitTun.resPro.onOffPer.timOffRec.edgRes.u,$PRE.PIDWitTun.resPro.onOffPer.timOffRec.edgRes.u,PIDWitTun.resPro.onOffPer.timOffRec.samTri.y,PIDWitTun.resPro.onOffPer.timOffRec.samTri.u2,PIDWitTun.resPro.onOffPer.timOffRec.yRec.y,$PRE.PIDWitTun.resPro.onOffPer.timOffRec.yRec.y,PIDWitTun.resPro.onOffPer.timOnRec.edgThr.y,PIDWitTun.resPro.onOffPer.timOnRec.edgThr.u,$PRE.PIDWitTun.resPro.onOffPer.timOnRec.edgThr.u,PIDWitTun.resPro.onOffPer.timOnRec.edgRes.u,$PRE.PIDWitTun.resPro.onOffPer.timOnRec.edgRes.u,PIDWitTun.resPro.onOffPer.timOnRec.samTri.y,PIDWitTun.resPro.onOffPer.timOnRec.samTri.u2,PIDWitTun.resPro.onOffPer.timOnRec.yRec.y,$PRE.PIDWitTun.resPro.onOffPer.timOnRec.yRec.y,PIDWitTun.resPro.onOffPer.timOff.y,$PRE.PIDWitTun.resPro.onOffPer.timOff.y,PIDWitTun.resPro.onOffPer.timOn.y,$PRE.PIDWitTun.resPro.onOffPer.timOn.y,PIDWitTun.resPro.triSta,PIDWitTun.rel.hys.y,$PRE.PIDWitTun.rel.hys.y,PIDWitTun.con.greThrkTd.greHys.y,$PRE.PIDWitTun.con.greThrkTd.greHys.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 (279): * Single equations (assignments): 278 * 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.0003103/0.05137, allocations: 394.1 kB / 0.8884 GB, free: 9.949 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.05153, allocations: 163.8 kB / 0.8885 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008895/0.05242, allocations: 0.8375 MB / 0.8893 GB, free: 8.941 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.05243, allocations: 23.94 kB / 0.8894 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.05244, allocations: 0 / 0.8894 GB, free: 8.918 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.385e-05/0.05245, allocations: 15.95 kB / 0.8894 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00269/0.05514, allocations: 2.196 MB / 0.8915 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.05514, allocations: 4 kB / 0.8915 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004443/0.05559, allocations: 223.6 kB / 0.8917 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.0556, allocations: 12 kB / 0.8918 GB, free: 6.402 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-05/0.05565, allocations: 43.97 kB / 0.8918 GB, free: 6.359 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/0.05566, allocations: 19.88 kB / 0.8918 GB, free: 6.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.05567, allocations: 4.375 kB / 0.8918 GB, free: 6.336 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.05683, allocations: 1.325 MB / 0.8931 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002889/0.05712, allocations: 186.5 kB / 0.8933 GB, free: 4.773 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.05723, allocations: 59.98 kB / 0.8933 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.05748, allocations: 71.89 kB / 0.8934 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.05765, allocations: 169.6 kB / 0.8936 GB, free: 4.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.143e-05/0.05771, allocations: 55.95 kB / 0.8936 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002495/0.05796, allocations: 340.8 kB / 0.894 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.05796, allocations: 0 / 0.894 GB, free: 4.078 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001648/0.05961, allocations: 0.9377 MB / 0.8949 GB, free: 3.137 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (PIDWitTun.con.I.y,PIDWitTun.con.D.x,PIDWitTun.conProMod.gain.Iy.y,PID.I.y,PID.D.x,derivative1.x,derivative2.x) * 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,PIDWitTun.con.greThrkTd.greHys.y,PIDWitTun.rel.hys.y,PIDWitTun.resPro.onOffPer.timOn.y,PIDWitTun.resPro.onOffPer.timOff.y,PIDWitTun.resPro.onOffPer.timOnRec.yRec.y,PIDWitTun.resPro.onOffPer.timOnRec.samTri.u2,PIDWitTun.resPro.onOffPer.timOnRec.edgRes.u,PIDWitTun.resPro.onOffPer.timOnRec.edgThr.u,PIDWitTun.resPro.onOffPer.timOnRec.edgThr.y,PIDWitTun.resPro.onOffPer.timOffRec.yRec.y,PIDWitTun.resPro.onOffPer.timOffRec.samTri.u2,PIDWitTun.resPro.onOffPer.timOffRec.edgRes.u,PIDWitTun.resPro.onOffPer.timOffRec.edgThr.u,PIDWitTun.resPro.onOffPer.timOffRec.edgThr.y,PIDWitTun.resPro.halPerRatio.tOnSam.y,PIDWitTun.resPro.halPerRatio.tOffSam.y,PIDWitTun.resPro.norTimDel.gre.greHys.y,PIDWitTun.resPro.norTimDel.or2.y,PIDWitTun.resPro.norTimDel.tunEndDel.y,PIDWitTun.resPro.norTimDel.tunEndDel.t_next,PIDWitTun.resPro.tunMon.samAddtOntOff.y,PIDWitTun.resPro.tunMon.tInc.y,PIDWitTun.resPro.tunMon.tDec.y,PIDWitTun.resPro.tunMon.edgTunSta.u,PIDWitTun.resPro.tunMon.edgTunEnd.u,PIDWitTun.conProMod.tunSta,PIDWitTun.conProMod.timConDel.gre1.greHys.y,PIDWitTun.conProMod.timConDel.edg.u,PIDWitTun.conProMod.samK.y,PIDWitTun.conProMod.samL.y,PIDWitTun.conProMod.samtOn.y,PIDWitTun.conProMod.samT.y,PIDWitTun.conProMod.samTau.y,PIDWitTun.conProMod.not1.y,PIDWitTun.inTunPro.y,PIDWitTun.samk.y,PIDWitTun.samTi.y,PIDWitTun.samTd.y,PIDWitTun.nand.u2,PIDWitTun.nand.y,PIDWitTun.edgReq.u,PIDWitTun.tunStaDel.y,PIDWitTun.tunStaDel.t_next,PIDWitTun.sam_u_s.y,PIDWitTun.greThr.greHys.y,PIDWitTun.falEdg.y,PIDWitTun.falEdg.not_u,uniDel2.y,uniDel2.u_internal,uniDel1.y,uniDel1.u_internal,autTunSig.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.0003922/0.06, allocations: 223.8 kB / 0.8951 GB, free: 2.902 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001964/0.06197, allocations: 1.691 MB / 0.8967 GB, free: 1.168 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.22e-05/0.06199, allocations: 12 kB / 0.8967 GB, free: 1.156 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004596/0.06245, allocations: 0.5054 MB / 0.8972 GB, free: 0.6484 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007925/0.06324, allocations: 343.2 kB / 0.8976 GB, free: 324 kB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004578/0.06782, allocations: 3.267 MB / 0.9008 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.06818, allocations: 353.2 kB / 0.9011 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008033/0.06898, allocations: 237.1 kB / 0.9013 GB, free: 12.35 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007482/0.06973, allocations: 413.1 kB / 0.9017 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of SimCode: time 9.82e-07/0.06973, allocations: 0 / 0.9017 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of Templates: time 0.0338/0.1035, allocations: 22.41 MB / 0.9236 GB, free: 6.008 MB / 0.8855 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.9387874053791165]