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.001036/0.001036, allocations: 69.11 kB / 20.65 MB, free: 3.848 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.001043/0.001043, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9449/0.9449, allocations: 177.1 MB / 204.5 MB, free: 5.117 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.103/2.103, allocations: 429.5 MB / 0.6743 GB, free: 3.91 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 2.685e-06/2.685e-06, allocations: 0 / 0.8794 GB, free: 4.918 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/3.01e-05, allocations: 9.766 kB / 0.8794 GB, free: 4.91 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO): time 0.008174/0.008204, allocations: 7.432 MB / 0.8866 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.006649/0.01485, allocations: 3.188 MB / 0.8898 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002212/0.01707, allocations: 63.69 kB / 0.8898 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0009803/0.01805, allocations: 364.4 kB / 0.8902 GB, free: 9.852 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.01937, allocations: 338.1 kB / 0.8905 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.002201/0.02158, allocations: 1.323 MB / 0.8918 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.003642/0.02522, allocations: 3.39 MB / 0.8951 GB, free: 4.801 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002607/0.02783, allocations: 1.39 MB / 0.8964 GB, free: 3.352 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002571/0.0304, allocations: 1.895 MB / 0.8983 GB, free: 1.453 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.03162, allocations: 0.8362 MB / 0.8991 GB, free: 0.6172 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.000699/0.03232, allocations: 424 kB / 0.8995 GB, free: 208 kB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005958/0.03292, allocations: 436 kB / 0.8999 GB, free: 15.77 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004299/0.03335, allocations: 0.7517 MB / 0.9007 GB, free: 15.02 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007564/0.0341, allocations: 0.9168 MB / 0.9016 GB, free: 14.11 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002212/0.03631, allocations: 2.176 MB / 0.9037 GB, free: 11.92 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.03632, allocations: 4 kB / 0.9037 GB, free: 11.92 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.092e-06/0.03632, allocations: 1.594 kB / 0.9037 GB, free: 11.92 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.843e-05/0.03635, allocations: 0 / 0.9037 GB, free: 11.92 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.003695/0.04005, allocations: 3.581 MB / 0.9072 GB, free: 8.262 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.04009, allocations: 8.031 kB / 0.9072 GB, free: 8.254 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005583/0.04065, allocations: 0.5069 MB / 0.9077 GB, free: 7.746 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.04212, allocations: 1.514 MB / 0.9092 GB, free: 6.195 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.04224, allocations: 201.5 kB / 0.9094 GB, free: 5.996 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002317/0.04247, allocations: 288.3 kB / 0.9096 GB, free: 5.715 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.04439, allocations: 1.789 MB / 0.9114 GB, free: 3.809 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.029e-05/0.04444, allocations: 7.938 kB / 0.9114 GB, free: 3.801 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.04456, allocations: 116 kB / 0.9115 GB, free: 3.688 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-05/0.04459, allocations: 60 kB / 0.9116 GB, free: 3.629 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009069/0.0455, allocations: 0.6772 MB / 0.9122 GB, free: 2.93 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006908/0.05241, allocations: 5.826 MB / 0.9179 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.05404, allocations: 1.268 MB / 0.9191 GB, free: 11.73 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005148/0.05455, allocations: 433.5 kB / 0.9196 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.419e-05/0.05463, allocations: 41.98 kB / 0.9196 GB, free: 11.26 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008239/0.05545, allocations: 0.8561 MB / 0.9204 GB, free: 10.35 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=211): time 3.937e-06/0.05546, allocations: 0 / 0.9204 GB, free: 10.35 MB / 0.8386 GB Notification: Performance of matching and sorting (n=211): time 0.001777/0.05723, allocations: 1.428 MB / 0.9218 GB, free: 8.918 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.999e-05/0.05732, allocations: 178.4 kB / 0.922 GB, free: 8.711 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007466/0.05807, allocations: 0.8191 MB / 0.9228 GB, free: 7.863 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.0582, allocations: 101.7 kB / 0.9229 GB, free: 7.758 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006346/0.05883, allocations: 0.9773 MB / 0.9239 GB, free: 6.77 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004351/0.05927, allocations: 0.6275 MB / 0.9245 GB, free: 6.137 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004306/0.0597, allocations: 433.8 kB / 0.9249 GB, free: 5.703 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.05982, allocations: 488.7 kB / 0.9253 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/0.06026, allocations: 302.7 kB / 0.9256 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006262/0.06088, allocations: 0.8465 MB / 0.9265 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009438/0.06183, allocations: 0.9933 MB / 0.9274 GB, free: 2.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.968e-06/0.06184, allocations: 4 kB / 0.9274 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.001575/0.06341, allocations: 1.364 MB / 0.9288 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.101e-05/0.06346, allocations: 41.7 kB / 0.9288 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.06348, allocations: 8 kB / 0.9288 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.06351, allocations: 16.78 kB / 0.9288 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007237/0.06423, allocations: 363.5 kB / 0.9292 GB, free: 0.918 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.06425, allocations: 16 kB / 0.9292 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005203/0.06477, allocations: 194.9 kB / 0.9294 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.104e-05/0.06485, allocations: 64.09 kB / 0.9294 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006706/0.06552, allocations: 456.6 kB / 0.9299 GB, free: 192 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006272/0.06615, allocations: 0.8501 MB / 0.9307 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000893/0.06704, allocations: 0.9949 MB / 0.9317 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.702e-06/0.06705, allocations: 4 kB / 0.9317 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.00142/0.06847, allocations: 1.366 MB / 0.933 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.793e-05/0.0685, allocations: 37.7 kB / 0.9331 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.06851, allocations: 8 kB / 0.9331 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.06853, allocations: 16.78 kB / 0.9331 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006878/0.06922, allocations: 355.3 kB / 0.9334 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.06924, allocations: 19.98 kB / 0.9334 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004686/0.06971, allocations: 182.9 kB / 0.9336 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-05/0.06978, allocations: 63.98 kB / 0.9337 GB, free: 11.95 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,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 (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.0003989/0.07018, allocations: 478 kB / 0.9341 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/0.07042, allocations: 235 kB / 0.9343 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.07175, allocations: 1.181 MB / 0.9355 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.07177, allocations: 24 kB / 0.9355 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.07177, allocations: 0 / 0.9355 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/0.07178, allocations: 7.969 kB / 0.9355 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003689/0.07547, allocations: 3.081 MB / 0.9385 GB, free: 6.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.07548, allocations: 8 kB / 0.9385 GB, free: 6.832 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005171/0.076, allocations: 223.7 kB / 0.9388 GB, free: 6.613 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.07601, allocations: 8 kB / 0.9388 GB, free: 6.605 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.706e-05/0.07608, allocations: 55.95 kB / 0.9388 GB, free: 6.551 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.148e-05/0.0761, allocations: 19.88 kB / 0.9388 GB, free: 6.531 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.0761, allocations: 4 kB / 0.9388 GB, free: 6.527 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.07803, allocations: 1.804 MB / 0.9406 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004566/0.07848, allocations: 334.5 kB / 0.9409 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.07864, allocations: 59.98 kB / 0.941 GB, free: 4.266 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.07894, allocations: 63.89 kB / 0.941 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/0.07917, allocations: 173.6 kB / 0.9412 GB, free: 4.035 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.91e-05/0.07925, allocations: 55.95 kB / 0.9413 GB, free: 3.98 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003879/0.07964, allocations: 455.1 kB / 0.9417 GB, free: 3.523 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.9e-07/0.07964, allocations: 4 kB / 0.9417 GB, free: 3.52 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001991/0.08163, allocations: 0.9338 MB / 0.9426 GB, free: 2.582 MB / 0.8542 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.000332/0.08196, allocations: 254.5 kB / 0.9429 GB, free: 2.316 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002463/0.08443, allocations: 1.791 MB / 0.9446 GB, free: 488 kB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.08443, allocations: 0 / 0.9446 GB, free: 488 kB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006095/0.08504, allocations: 0.5433 MB / 0.9451 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009289/0.08597, allocations: 337.6 kB / 0.9455 GB, free: 15.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004444/0.09041, allocations: 3.326 MB / 0.9487 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002883/0.0907, allocations: 357.2 kB / 0.949 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0007854/0.09149, allocations: 245.1 kB / 0.9493 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007273/0.09221, allocations: 466 kB / 0.9497 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of SimCode: time 2.264e-06/0.09222, allocations: 0 / 0.9497 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of Templates: time 0.03245/0.1247, allocations: 22.97 MB / 0.9722 GB, free: 4.488 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: 6.328839858062565]