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.001597/0.001597, allocations: 99.75 kB / 18.95 MB, free: 2.832 MB / 14.72 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.002037/0.002037, allocations: 217.6 kB / 22.25 MB, free: 5.105 MB / 14.72 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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 3.33/3.33, allocations: 0.505 GB / 0.8101 GB, free: 23.46 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Validation_DirectActingPIDWithFirstOrderAMIGO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Validation_DirectActingPIDWithFirstOrderAMIGO",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 72.77 kB / 1.177 GB, free: 16.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3865, allocations: 180.2 MB / 1.353 GB, free: 7.883 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO): time 0.01153/0.398, allocations: 7.199 MB / 1.36 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.008516/0.4065, allocations: 3.176 MB / 1.363 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002709/0.4092, allocations: 63.69 kB / 1.363 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.4107, allocations: 363.8 kB / 1.363 GB, free: 13.03 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001926/0.4126, allocations: 297.1 kB / 1.364 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003126/0.4158, allocations: 1.332 MB / 1.365 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005186/0.4209, allocations: 3.382 MB / 1.368 GB, free: 8.016 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003026/0.424, allocations: 1.479 MB / 1.37 GB, free: 6.477 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.4255, allocations: 1.191 MB / 1.371 GB, free: 5.281 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/0.4268, allocations: 1.205 MB / 1.372 GB, free: 4.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0006309/0.4275, allocations: 456 kB / 1.372 GB, free: 3.625 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006293/0.4281, allocations: 472 kB / 1.373 GB, free: 3.164 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007049/0.4288, allocations: 0.7753 MB / 1.374 GB, free: 2.387 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001304/0.4301, allocations: 1.124 MB / 1.375 GB, free: 1.258 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.006042/0.4362, allocations: 5.188 MB / 1.38 GB, free: 12.05 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.4362, allocations: 0 / 1.38 GB, free: 12.05 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.415e-06/0.4362, allocations: 0 / 1.38 GB, free: 12.05 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001394/0.4363, allocations: 0 / 1.38 GB, free: 12.05 MB / 1.076 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.007014/0.4433, allocations: 3.453 MB / 1.383 GB, free: 8.527 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.4434, allocations: 12.03 kB / 1.383 GB, free: 8.516 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004407/0.4438, allocations: 354.7 kB / 1.384 GB, free: 8.16 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005761/0.4444, allocations: 311.1 kB / 1.384 GB, free: 7.855 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002669/0.4471, allocations: 1.447 MB / 1.385 GB, free: 6.371 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.4473, allocations: 205.5 kB / 1.385 GB, free: 6.168 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003976/0.4477, allocations: 284.1 kB / 1.386 GB, free: 5.891 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004786/0.4524, allocations: 2.625 MB / 1.388 GB, free: 3.152 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.337e-05/0.4525, allocations: 0 / 1.388 GB, free: 3.152 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001964/0.4527, allocations: 108 kB / 1.388 GB, free: 3.047 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.417e-05/0.4528, allocations: 64 kB / 1.388 GB, free: 2.984 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003772/0.4565, allocations: 1.729 MB / 1.39 GB, free: 1.242 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01329/0.4698, allocations: 6.064 MB / 1.396 GB, free: 11.09 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00381/0.4736, allocations: 1.928 MB / 1.398 GB, free: 9.145 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/0.475, allocations: 0.7967 MB / 1.399 GB, free: 8.344 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.4751, allocations: 25.98 kB / 1.399 GB, free: 8.316 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001907/0.477, allocations: 1.173 MB / 1.4 GB, free: 7.09 MB / 1.092 GB Notification: Performance of pre-optimization done (n=211): time 4.89e-06/0.477, allocations: 3.938 kB / 1.4 GB, free: 7.086 MB / 1.092 GB Notification: Performance of matching and sorting (n=211): time 0.004287/0.4813, allocations: 2.279 MB / 1.402 GB, free: 4.805 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.4815, allocations: 174.5 kB / 1.402 GB, free: 4.602 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/0.4831, allocations: 1.11 MB / 1.403 GB, free: 3.477 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002452/0.4833, allocations: 109.7 kB / 1.403 GB, free: 3.363 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009394/0.4843, allocations: 0.9016 MB / 1.404 GB, free: 2.453 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006387/0.4849, allocations: 0.6237 MB / 1.405 GB, free: 1.824 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006514/0.4856, allocations: 416.1 kB / 1.405 GB, free: 1.41 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.4857, allocations: 305.2 kB / 1.406 GB, free: 1.109 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.4871, allocations: 0.6947 MB / 1.406 GB, free: 408 kB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001732/0.4888, allocations: 1.132 MB / 1.407 GB, free: 15.12 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002722/0.4915, allocations: 1.529 MB / 1.409 GB, free: 13.5 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.4915, allocations: 0 / 1.409 GB, free: 13.5 MB / 1.107 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004379/0.4959, allocations: 2.012 MB / 1.411 GB, free: 11.46 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 6.287e-05/0.496, allocations: 39.27 kB / 1.411 GB, free: 11.42 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.496, allocations: 4 kB / 1.411 GB, free: 11.42 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.308e-05/0.496, allocations: 19.94 kB / 1.411 GB, free: 11.4 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.4974, allocations: 327.4 kB / 1.411 GB, free: 11.08 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.726e-05/0.4974, allocations: 23.92 kB / 1.411 GB, free: 11.05 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.4987, allocations: 258.5 kB / 1.412 GB, free: 10.8 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/0.4989, allocations: 79.98 kB / 1.412 GB, free: 10.72 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002352/0.5012, allocations: 1.049 MB / 1.413 GB, free: 9.66 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001783/0.503, allocations: 1.107 MB / 1.414 GB, free: 8.402 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002696/0.5057, allocations: 1.485 MB / 1.415 GB, free: 6.828 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.548e-06/0.5057, allocations: 4 kB / 1.415 GB, free: 6.824 MB / 1.107 GB Notification: Performance of matching and sorting (n=279) (initialization_lambda0): time 0.004369/0.5101, allocations: 1.96 MB / 1.417 GB, free: 4.844 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 7.373e-05/0.5102, allocations: 33.7 kB / 1.417 GB, free: 4.805 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.5102, allocations: 8 kB / 1.417 GB, free: 4.797 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.5102, allocations: 16 kB / 1.417 GB, free: 4.781 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.5115, allocations: 327.3 kB / 1.417 GB, free: 4.461 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.059e-05/0.5115, allocations: 23.97 kB / 1.417 GB, free: 4.438 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.5128, allocations: 223.1 kB / 1.418 GB, free: 4.219 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.5129, allocations: 76 kB / 1.418 GB, free: 4.145 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 127 ($PRE.PIDWitTun.resPro.norTimDel.tunEndDel.u,$PRE.PIDWitTun.tunStaDel.u,uniDel1.u_internal,$PRE.uniDel1.u_internal,uniDel2.u_internal,$PRE.uniDel2.u_internal,$whenCondition21,$whenCondition19,$whenCondition20,$PRE.PIDWitTun.tunStaDel.t_next,$whenCondition13,$PRE.PIDWitTun.resPro.norTimDel.tunEndDel.t_next,$whenCondition6,uniDel2.sampleTrigger,$whenCondition17,uniDel1.sampleTrigger,$whenCondition18,PIDWitTun.tunStaDel.t_next,PIDWitTun.resPro.norTimDel.tunEndDel.t_next,PIDWitTun.con.greThrkTd.greHys.y,$PRE.PIDWitTun.con.greThrkTd.greHys.y,PIDWitTun.rel.hys.y,$PRE.PIDWitTun.rel.hys.y,PIDWitTun.resPro.triSta,PIDWitTun.resPro.onOffPer.timOn.y,$PRE.PIDWitTun.resPro.onOffPer.timOn.y,PIDWitTun.resPro.onOffPer.timOff.y,$PRE.PIDWitTun.resPro.onOffPer.timOff.y,PIDWitTun.resPro.onOffPer.timOnRec.yRec.y,$PRE.PIDWitTun.resPro.onOffPer.timOnRec.yRec.y,PIDWitTun.resPro.onOffPer.timOnRec.samTri.u2,PIDWitTun.resPro.onOffPer.timOnRec.samTri.y,PIDWitTun.resPro.onOffPer.timOnRec.edgRes.u,$PRE.PIDWitTun.resPro.onOffPer.timOnRec.edgRes.u,PIDWitTun.resPro.onOffPer.timOnRec.edgThr.u,$PRE.PIDWitTun.resPro.onOffPer.timOnRec.edgThr.u,PIDWitTun.resPro.onOffPer.timOnRec.edgThr.y,PIDWitTun.resPro.onOffPer.timOffRec.yRec.y,$PRE.PIDWitTun.resPro.onOffPer.timOffRec.yRec.y,PIDWitTun.resPro.onOffPer.timOffRec.samTri.u2,PIDWitTun.resPro.onOffPer.timOffRec.samTri.y,PIDWitTun.resPro.onOffPer.timOffRec.edgRes.u,$PRE.PIDWitTun.resPro.onOffPer.timOffRec.edgRes.u,PIDWitTun.resPro.onOffPer.timOffRec.edgThr.u,$PRE.PIDWitTun.resPro.onOffPer.timOffRec.edgThr.u,PIDWitTun.resPro.onOffPer.timOffRec.edgThr.y,PIDWitTun.resPro.halPerRatio.tOnSam.y,$PRE.PIDWitTun.resPro.halPerRatio.tOnSam.y,PIDWitTun.resPro.halPerRatio.tOffSam.y,$PRE.PIDWitTun.resPro.halPerRatio.tOffSam.y,PIDWitTun.resPro.norTimDel.gre.greHys.y,$PRE.PIDWitTun.resPro.norTimDel.gre.greHys.y,PIDWitTun.resPro.norTimDel.or2.y,PIDWitTun.resPro.norTimDel.tunEndDel.u,PIDWitTun.resPro.norTimDel.tunEndDel.y,PIDWitTun.resPro.tunMon.samAddtOntOff.y,$PRE.PIDWitTun.resPro.tunMon.samAddtOntOff.y,PIDWitTun.resPro.tunMon.tInc.y,PIDWitTun.resPro.tunMon.tDec.y,PIDWitTun.resPro.tunMon.edgTunSta.u,$PRE.PIDWitTun.resPro.tunMon.edgTunSta.u,PIDWitTun.resPro.tunMon.edgTunEnd.u,$PRE.PIDWitTun.resPro.tunMon.edgTunEnd.u,PIDWitTun.resPro.tunMon.greThr1.y,PIDWitTun.conProMod.triEnd,PIDWitTun.conProMod.tunSta,PIDWitTun.conProMod.timConDel.gre1.greHys.y,$PRE.PIDWitTun.conProMod.timConDel.gre1.greHys.y,PIDWitTun.conProMod.timConDel.edg.u,$PRE.PIDWitTun.conProMod.timConDel.edg.u,PIDWitTun.conProMod.samK.y,$PRE.PIDWitTun.conProMod.samK.y,PIDWitTun.conProMod.samL.y,$PRE.PIDWitTun.conProMod.samL.y,PIDWitTun.conProMod.samtOn.y,$PRE.PIDWitTun.conProMod.samtOn.y,PIDWitTun.conProMod.samT.y,$PRE.PIDWitTun.conProMod.samT.y,PIDWitTun.conProMod.samTau.y,$PRE.PIDWitTun.conProMod.samTau.y,PIDWitTun.conProMod.not1.y,PIDWitTun.inTunPro.u,PIDWitTun.inTunPro.clr,PIDWitTun.inTunPro.y,$PRE.PIDWitTun.inTunPro.y,PIDWitTun.samk.y,$PRE.PIDWitTun.samk.y,PIDWitTun.samTi.y,$PRE.PIDWitTun.samTi.y,PIDWitTun.samTd.trigger,PIDWitTun.samTd.y,$PRE.PIDWitTun.samTd.y,PIDWitTun.nand.u2,PIDWitTun.nand.y,PIDWitTun.edgReq.u,$PRE.PIDWitTun.edgReq.u,PIDWitTun.tunStaDel.u,PIDWitTun.tunStaDel.y,PIDWitTun.sam_u_s.y,$PRE.PIDWitTun.sam_u_s.y,PIDWitTun.greThr.greHys.y,$PRE.PIDWitTun.greThr.greHys.y,PIDWitTun.falEdg.y,PIDWitTun.falEdg.not_u,$PRE.PIDWitTun.falEdg.not_u,uniDel2.y,$PRE.uniDel2.y,autTunSig.y,$PRE.autTunSig.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition16,$whenCondition22,uniDel1.y,$PRE.uniDel1.y,PIDWitTun.gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (277): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006314/0.5135, allocations: 398.4 kB / 1.418 GB, free: 3.746 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003399/0.5139, allocations: 170.9 kB / 1.418 GB, free: 3.578 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003517/0.5174, allocations: 1.781 MB / 1.42 GB, free: 1.781 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.327e-05/0.5174, allocations: 20 kB / 1.42 GB, free: 1.762 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/0.5174, allocations: 0 / 1.42 GB, free: 1.762 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-05/0.5174, allocations: 11.95 kB / 1.42 GB, free: 1.75 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007987/0.5254, allocations: 4.167 MB / 1.424 GB, free: 13.49 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.5254, allocations: 4 kB / 1.424 GB, free: 13.49 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009336/0.5264, allocations: 236 kB / 1.424 GB, free: 13.26 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.484e-05/0.5264, allocations: 15.88 kB / 1.424 GB, free: 13.24 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.5265, allocations: 51.97 kB / 1.424 GB, free: 13.19 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.43e-05/0.5265, allocations: 11.94 kB / 1.424 GB, free: 13.18 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.5265, allocations: 4 kB / 1.424 GB, free: 13.18 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004645/0.5312, allocations: 2.818 MB / 1.427 GB, free: 10.31 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008639/0.532, allocations: 354.3 kB / 1.428 GB, free: 9.961 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/0.5323, allocations: 63.98 kB / 1.428 GB, free: 9.898 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006719/0.5329, allocations: 79.92 kB / 1.428 GB, free: 9.82 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003349/0.5333, allocations: 189.6 kB / 1.428 GB, free: 9.637 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.5334, allocations: 71.95 kB / 1.428 GB, free: 9.566 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001049/0.5344, allocations: 0.7001 MB / 1.429 GB, free: 8.859 MB / 1.123 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5344, allocations: 8 kB / 1.429 GB, free: 8.852 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00213/0.5366, allocations: 0.8952 MB / 1.43 GB, free: 7.953 MB / 1.123 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.005107/0.5417, allocations: 3.493 MB / 1.433 GB, free: 4.387 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00517/0.5468, allocations: 2.684 MB / 1.436 GB, free: 1.672 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/0.5469, allocations: 4 kB / 1.436 GB, free: 1.668 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001609/0.5485, allocations: 0.8663 MB / 1.436 GB, free: 0.8047 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.55, allocations: 344 kB / 1.437 GB, free: 480 kB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02302/0.5731, allocations: 13.33 MB / 1.45 GB, free: 2.613 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/0.5743, allocations: 0.8733 MB / 1.451 GB, free: 1.695 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001314/0.5756, allocations: 258.1 kB / 1.451 GB, free: 1.438 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/0.5769, allocations: 0.8781 MB / 1.452 GB, free: 0.5586 MB / 1.139 GB Notification: Performance of SimCode: time 1.172e-06/0.5769, allocations: 0 / 1.452 GB, free: 0.5586 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08631/0.6632, allocations: 37.02 MB / 1.488 GB, free: 12.02 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.67, allocations: 7.984 kB / 1.488 GB, free: 12.01 MB / 1.186 GB " [Timeout remaining time 286] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.csv --start-time 0 --stop-time 10000 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Validation_DirectActingPIDWithFirstOrderAMIGO.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Validation_DirectActingPIDWithFirstOrderAMIGO.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable PID.u_s in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PID.u_s from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PID.u_m in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PID.u_m from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIDWitTun.u_s in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIDWitTun.u_s from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIDWitTun.u_m in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIDWitTun.u_m from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable autTunSig.y in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.csv. Warning: Get data of variable autTunSig.y from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIDWitTun.inTunPro.y in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIDWitTun.inTunPro.y from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIDWitTun.con.y in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIDWitTun.con.y from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIDWitTun.con.k in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIDWitTun.con.k from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIDWitTun.con.Ti in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIDWitTun.con.Ti from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIDWitTun.con.Td in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIDWitTun.con.Td from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIDWithFirstOrderAMIGO_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.01920244199573]