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.0009455/0.0009455, allocations: 80.75 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.001187/0.001187, 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.026/1.026, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.353/2.353, allocations: 438.8 MB / 0.6827 GB, free: 13.6 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 2.725e-06/2.725e-06, allocations: 0 / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.363e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO): time 0.007731/0.007755, allocations: 7.381 MB / 0.8458 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.006611/0.01437, allocations: 3.33 MB / 0.849 GB, free: 3.48 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001827/0.01619, allocations: 63.69 kB / 0.8491 GB, free: 3.418 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0008491/0.01704, allocations: 367.8 kB / 0.8494 GB, free: 3.055 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.01816, allocations: 344.7 kB / 0.8498 GB, free: 2.715 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.0202, allocations: 1.303 MB / 0.851 GB, free: 1.41 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.003494/0.02369, allocations: 3.382 MB / 0.8543 GB, free: 14.02 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002388/0.02608, allocations: 1.404 MB / 0.8557 GB, free: 12.54 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002169/0.02825, allocations: 1.883 MB / 0.8575 GB, free: 10.65 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.0293, allocations: 0.8253 MB / 0.8584 GB, free: 9.824 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0009139/0.03021, allocations: 424 kB / 0.8588 GB, free: 9.41 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005153/0.03073, allocations: 444 kB / 0.8592 GB, free: 8.977 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005241/0.03125, allocations: 0.74 MB / 0.8599 GB, free: 8.234 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.000975/0.03223, allocations: 0.9119 MB / 0.8608 GB, free: 7.32 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002247/0.03447, allocations: 2.16 MB / 0.8629 GB, free: 5.152 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.03448, allocations: 4 kB / 0.8629 GB, free: 5.148 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.072e-06/0.03448, allocations: 0 / 0.8629 GB, free: 5.148 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.427e-05/0.03452, allocations: 0 / 0.8629 GB, free: 5.148 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.002999/0.03752, allocations: 2.637 MB / 0.8655 GB, free: 2.453 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.03756, allocations: 20.56 kB / 0.8655 GB, free: 2.434 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007057/0.03827, allocations: 412.5 kB / 0.8659 GB, free: 2.031 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.03943, allocations: 1.016 MB / 0.8669 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.03955, allocations: 205.4 kB / 0.8671 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/0.03977, allocations: 276.3 kB / 0.8673 GB, free: 0.5117 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/0.04178, allocations: 1.812 MB / 0.8691 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.593e-05/0.04182, allocations: 3.938 kB / 0.8691 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/0.04193, allocations: 104 kB / 0.8692 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.292e-05/0.04198, allocations: 60 kB / 0.8693 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008667/0.04284, allocations: 0.5689 MB / 0.8698 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006677/0.04952, allocations: 4.426 MB / 0.8742 GB, free: 9.328 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001448/0.05097, allocations: 1.087 MB / 0.8752 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005115/0.05148, allocations: 391.9 kB / 0.8756 GB, free: 7.828 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.748e-05/0.05156, allocations: 37.98 kB / 0.8756 GB, free: 7.793 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008722/0.05243, allocations: 0.8562 MB / 0.8765 GB, free: 6.879 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=209): time 4.809e-06/0.05243, allocations: 0 / 0.8765 GB, free: 6.879 MB / 0.8386 GB Notification: Performance of matching and sorting (n=209): time 0.001437/0.05387, allocations: 0.9912 MB / 0.8774 GB, free: 5.887 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.219e-05/0.05396, allocations: 170.5 kB / 0.8776 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007403/0.0547, allocations: 0.7649 MB / 0.8783 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.05483, allocations: 97.69 kB / 0.8784 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005119/0.05534, allocations: 0.7775 MB / 0.8792 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006965/0.05604, allocations: 0.6276 MB / 0.8798 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004465/0.05649, allocations: 415.8 kB / 0.8802 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.777e-05/0.05656, allocations: 313 kB / 0.8805 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004431/0.05701, allocations: 267.6 kB / 0.8808 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006223/0.05763, allocations: 0.7233 MB / 0.8815 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009937/0.05862, allocations: 0.9086 MB / 0.8823 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/0.05864, allocations: 4 kB / 0.8824 GB, free: 500 kB / 0.8386 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.001414/0.06005, allocations: 1.036 MB / 0.8834 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.633e-05/0.0601, allocations: 37.7 kB / 0.8834 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.06011, allocations: 8 kB / 0.8834 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.06014, allocations: 20.03 kB / 0.8834 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008853/0.06102, allocations: 355.3 kB / 0.8838 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.422e-05/0.06105, allocations: 23.92 kB / 0.8838 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005833/0.06163, allocations: 198.8 kB / 0.884 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.339e-05/0.06172, allocations: 59.98 kB / 0.884 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006204/0.06235, allocations: 378.1 kB / 0.8844 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006114/0.06296, allocations: 0.7124 MB / 0.8851 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009747/0.06393, allocations: 0.8969 MB / 0.886 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.017e-05/0.06394, allocations: 4 kB / 0.886 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=279) (initialization_lambda0): time 0.001555/0.0655, allocations: 1.028 MB / 0.887 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.408e-05/0.06554, allocations: 47.72 kB / 0.887 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.06555, allocations: 8.031 kB / 0.887 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.06557, allocations: 20 kB / 0.887 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008357/0.06641, allocations: 347.3 kB / 0.8874 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.211e-05/0.06643, allocations: 19.94 kB / 0.8874 GB, free: 11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005529/0.06698, allocations: 183.2 kB / 0.8876 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.922e-05/0.06707, allocations: 63.98 kB / 0.8876 GB, free: 10.75 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.000391/0.06746, allocations: 382.5 kB / 0.888 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.06768, allocations: 167.8 kB / 0.8882 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.0688, allocations: 0.8336 MB / 0.889 GB, free: 9.363 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.06882, allocations: 23.94 kB / 0.889 GB, free: 9.34 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.06882, allocations: 0 / 0.889 GB, free: 9.34 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.06884, allocations: 7.969 kB / 0.889 GB, free: 9.332 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003204/0.07204, allocations: 2.181 MB / 0.8911 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.07205, allocations: 4 kB / 0.8911 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005968/0.07265, allocations: 215.7 kB / 0.8913 GB, free: 6.867 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.51e-05/0.07266, allocations: 15.98 kB / 0.8914 GB, free: 6.852 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.647e-05/0.07274, allocations: 47.91 kB / 0.8914 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.321e-05/0.07275, allocations: 12.38 kB / 0.8914 GB, free: 6.793 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.07276, allocations: 8 kB / 0.8914 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.07434, allocations: 1.321 MB / 0.8927 GB, free: 5.41 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/0.07471, allocations: 178.6 kB / 0.8929 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.07486, allocations: 63.92 kB / 0.8929 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/0.07521, allocations: 67.95 kB / 0.893 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004853/0.07569, allocations: 169.6 kB / 0.8932 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.121e-05/0.07578, allocations: 63.95 kB / 0.8932 GB, free: 4.879 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003286/0.0761, allocations: 336.6 kB / 0.8935 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/0.0761, allocations: 4 kB / 0.8936 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001663/0.07777, allocations: 0.9221 MB / 0.8945 GB, free: 3.605 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.0003027/0.07807, allocations: 227.7 kB / 0.8947 GB, free: 3.367 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002156/0.08023, allocations: 1.684 MB / 0.8963 GB, free: 1.641 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.682e-05/0.08024, allocations: 8 kB / 0.8963 GB, free: 1.633 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005769/0.08082, allocations: 0.5043 MB / 0.8968 GB, free: 1.125 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009515/0.08177, allocations: 339.2 kB / 0.8971 GB, free: 0.793 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004671/0.08644, allocations: 3.232 MB / 0.9003 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/0.08677, allocations: 349.2 kB / 0.9006 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0008243/0.08759, allocations: 241 kB / 0.9009 GB, free: 12.86 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007215/0.08831, allocations: 417.1 kB / 0.9013 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of SimCode: time 1.563e-06/0.08831, allocations: 0 / 0.9013 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of Templates: time 0.06663/0.1549, allocations: 22.35 MB / 0.9231 GB, free: 6.582 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 -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.09121903590858]