Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 80.88 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.001246/0.001246, allocations: 181 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 1.057/1.057, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.442/2.442, allocations: 438.8 MB / 0.6827 GB, free: 13.55 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.ReverseActingPIDWithFirstOrderAMIGO,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PID.u_s|PID.u_m|PIDWitTun.u_s|PIDWitTun.u_m|autTunSig.y|PIDWitTun.inTunPro.y|PIDWitTun.con.y|PIDWitTun.con.k|PIDWitTun.con.Ti|PIDWitTun.con.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO") translateModel(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|PID.u_s|PID.u_m|PIDWitTun.u_s|PIDWitTun.u_m|autTunSig.y|PIDWitTun.inTunPro.y|PIDWitTun.con.y|PIDWitTun.con.k|PIDWitTun.con.Ti|PIDWitTun.con.Td",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.604e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO): time 0.007387/0.007403, allocations: 7.414 MB / 0.8458 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.005141/0.01254, allocations: 3.33 MB / 0.8491 GB, free: 3.34 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.01374, allocations: 67.62 kB / 0.8492 GB, free: 3.273 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005832/0.01432, allocations: 363.8 kB / 0.8495 GB, free: 2.914 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0007055/0.01503, allocations: 340.7 kB / 0.8498 GB, free: 2.578 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.01646, allocations: 1.307 MB / 0.8511 GB, free: 1.27 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.002233/0.01869, allocations: 3.378 MB / 0.8544 GB, free: 13.89 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/0.02026, allocations: 1.408 MB / 0.8558 GB, free: 12.4 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00147/0.02173, allocations: 1.883 MB / 0.8576 GB, free: 10.51 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006099/0.02234, allocations: 0.8292 MB / 0.8584 GB, free: 9.68 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003286/0.02267, allocations: 424 kB / 0.8588 GB, free: 9.266 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004849/0.02316, allocations: 444 kB / 0.8593 GB, free: 8.832 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003559/0.02351, allocations: 0.74 MB / 0.86 GB, free: 8.09 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005528/0.02407, allocations: 0.9118 MB / 0.8609 GB, free: 7.176 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001995/0.02606, allocations: 2.164 MB / 0.863 GB, free: 5.004 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.02606, allocations: 0 / 0.863 GB, free: 5.004 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.503e-06/0.02607, allocations: 0 / 0.863 GB, free: 5.004 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.205e-05/0.02609, allocations: 0 / 0.863 GB, free: 5.004 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 642 * Number of variables: 642 Notification: Performance of Generate backend data structure: time 0.00244/0.02853, allocations: 2.641 MB / 0.8656 GB, free: 2.309 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.02857, allocations: 12.62 kB / 0.8656 GB, free: 2.297 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004198/0.02899, allocations: 408.6 kB / 0.866 GB, free: 1.898 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.03023, allocations: 1.016 MB / 0.867 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.03033, allocations: 201.4 kB / 0.8672 GB, free: 0.6523 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001995/0.03053, allocations: 288.3 kB / 0.8674 GB, free: 380 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.03204, allocations: 1.8 MB / 0.8692 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.743e-05/0.03208, allocations: 3.938 kB / 0.8692 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-05/0.03217, allocations: 115.9 kB / 0.8693 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-05/0.03221, allocations: 60 kB / 0.8694 GB, free: 14.28 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007287/0.03294, allocations: 0.5716 MB / 0.8699 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004916/0.03785, allocations: 4.426 MB / 0.8742 GB, free: 9.184 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/0.03895, allocations: 1.088 MB / 0.8753 GB, free: 8.078 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003957/0.03935, allocations: 391.9 kB / 0.8757 GB, free: 7.688 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.451e-05/0.03941, allocations: 41.98 kB / 0.8757 GB, free: 7.648 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006743/0.04009, allocations: 0.8601 MB / 0.8766 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=209): time 3.066e-06/0.04009, allocations: 0 / 0.8766 GB, free: 6.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=209): time 0.001078/0.04117, allocations: 0.9912 MB / 0.8775 GB, free: 5.738 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/0.04124, allocations: 174.4 kB / 0.8777 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005199/0.04176, allocations: 0.7649 MB / 0.8784 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.441e-05/0.04185, allocations: 101.7 kB / 0.8785 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003641/0.04222, allocations: 0.7775 MB / 0.8793 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003228/0.04254, allocations: 0.6237 MB / 0.8799 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005034/0.04305, allocations: 423.8 kB / 0.8803 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.218e-05/0.04311, allocations: 301.1 kB / 0.8806 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/0.04344, allocations: 263.6 kB / 0.8808 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005047/0.04395, allocations: 0.7272 MB / 0.8816 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007817/0.04473, allocations: 0.9047 MB / 0.8824 GB, free: 356 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.04474, allocations: 4 kB / 0.8824 GB, free: 352 kB / 0.8386 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.001027/0.04576, allocations: 1.036 MB / 0.8835 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.0458, allocations: 37.78 kB / 0.8835 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.04581, allocations: 12 kB / 0.8835 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.04583, allocations: 16 kB / 0.8835 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007179/0.04655, allocations: 383.4 kB / 0.8839 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.04656, allocations: 19.94 kB / 0.8839 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003874/0.04695, allocations: 194.8 kB / 0.8841 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.473e-05/0.04703, allocations: 63.98 kB / 0.8841 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004731/0.0475, allocations: 370.1 kB / 0.8845 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004758/0.04798, allocations: 0.7202 MB / 0.8852 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007639/0.04874, allocations: 0.9007 MB / 0.8861 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.719e-06/0.04874, allocations: 0 / 0.8861 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of matching and sorting (n=279) (initialization_lambda0): time 0.001122/0.04987, allocations: 1.036 MB / 0.8871 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.04989, allocations: 41.81 kB / 0.8871 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.0499, allocations: 8 kB / 0.8871 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.04991, allocations: 16 kB / 0.8872 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006755/0.05059, allocations: 375.7 kB / 0.8875 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.0506, allocations: 23.92 kB / 0.8875 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/0.05097, allocations: 186.9 kB / 0.8877 GB, free: 10.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.959e-05/0.05104, allocations: 55.98 kB / 0.8878 GB, free: 10.56 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 (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.000278/0.05132, allocations: 394.4 kB / 0.8881 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.05146, allocations: 167.8 kB / 0.8883 GB, free: 10 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008594/0.05232, allocations: 0.8258 MB / 0.8891 GB, free: 9.164 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.05233, allocations: 20 kB / 0.8891 GB, free: 9.145 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.05234, allocations: 0 / 0.8891 GB, free: 9.145 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.05235, allocations: 11.95 kB / 0.8891 GB, free: 9.133 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/0.05466, allocations: 2.177 MB / 0.8913 GB, free: 6.887 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.05467, allocations: 4 kB / 0.8913 GB, free: 6.883 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004787/0.05515, allocations: 247.6 kB / 0.8915 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.05515, allocations: 8.375 kB / 0.8915 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.039e-05/0.05521, allocations: 51.97 kB / 0.8916 GB, free: 6.582 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.05522, allocations: 11.94 kB / 0.8916 GB, free: 6.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.05523, allocations: 4 kB / 0.8916 GB, free: 6.566 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.05643, allocations: 1.321 MB / 0.8929 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/0.0567, allocations: 186.6 kB / 0.893 GB, free: 5.008 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.0568, allocations: 59.98 kB / 0.8931 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.05706, allocations: 71.94 kB / 0.8932 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/0.05725, allocations: 173.6 kB / 0.8933 GB, free: 4.711 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.423e-05/0.05731, allocations: 55.95 kB / 0.8934 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003802/0.05769, allocations: 332.7 kB / 0.8937 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.05769, allocations: 0 / 0.8937 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001054/0.05875, allocations: 0.926 MB / 0.8946 GB, free: 3.387 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 (209): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 26 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002329/0.05898, allocations: 227.8 kB / 0.8948 GB, free: 3.148 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001463/0.06044, allocations: 1.684 MB / 0.8965 GB, free: 1.422 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/0.06045, allocations: 12 kB / 0.8965 GB, free: 1.41 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004408/0.0609, allocations: 0.5049 MB / 0.897 GB, free: 0.9023 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007412/0.06164, allocations: 336 kB / 0.8973 GB, free: 0.5742 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003422/0.06506, allocations: 3.24 MB / 0.9005 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.06531, allocations: 349.2 kB / 0.9008 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000616/0.06592, allocations: 241 kB / 0.901 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006099/0.06653, allocations: 413.1 kB / 0.9014 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of SimCode: time 1.603e-06/0.06653, allocations: 0 / 0.9014 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of Templates: time 0.02756/0.09409, allocations: 22.34 MB / 0.9232 GB, free: 6.363 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Validation_ReverseActingPIDWithFirstOrderAMIGO.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.012040977366269]