Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO.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.001382/0.001382, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001607/0.001607, allocations: 221.6 kB / 22.25 MB, free: 5.254 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.48/1.48, allocations: 230.6 MB / 256 MB, free: 7.785 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.352/3.352, allocations: 0.505 GB / 0.8101 GB, free: 23.49 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.DirectActingPIWithFirstOrderAMIGO,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Validation_DirectActingPIWithFirstOrderAMIGO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Validation_DirectActingPIWithFirstOrderAMIGO",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.002069/0.002069, allocations: 67.58 kB / 1.177 GB, free: 16.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3958, allocations: 180.2 MB / 1.353 GB, free: 7.918 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO): time 0.01124/0.4071, allocations: 7.196 MB / 1.36 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.007689/0.4148, allocations: 3.17 MB / 1.363 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002684/0.4174, allocations: 67.62 kB / 1.363 GB, free: 13.44 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.4188, allocations: 355.9 kB / 1.363 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.4204, allocations: 289.2 kB / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002958/0.4234, allocations: 1.327 MB / 1.365 GB, free: 11.48 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004341/0.4277, allocations: 3.313 MB / 1.368 GB, free: 8.156 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002797/0.4305, allocations: 1.466 MB / 1.37 GB, free: 6.633 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.432, allocations: 1.16 MB / 1.371 GB, free: 5.469 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.4334, allocations: 1.178 MB / 1.372 GB, free: 4.285 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0007313/0.4342, allocations: 448 kB / 1.372 GB, free: 3.848 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006523/0.4348, allocations: 471.9 kB / 1.373 GB, free: 3.387 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006639/0.4355, allocations: 0.7481 MB / 1.373 GB, free: 2.637 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.4367, allocations: 1.108 MB / 1.375 GB, free: 1.523 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005879/0.4425, allocations: 5.11 MB / 1.38 GB, free: 12.39 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.4425, allocations: 0 / 1.38 GB, free: 12.39 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4425, allocations: 0 / 1.38 GB, free: 12.39 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.255e-05/0.4426, allocations: 0 / 1.38 GB, free: 12.39 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: 642 * Number of variables: 642 Notification: Performance of Generate backend data structure: time 0.006153/0.4488, allocations: 3.388 MB / 1.383 GB, free: 8.938 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.4488, allocations: 8.031 kB / 1.383 GB, free: 8.93 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004062/0.4492, allocations: 350.5 kB / 1.383 GB, free: 8.578 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005146/0.4497, allocations: 299.1 kB / 1.383 GB, free: 8.285 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/0.4522, allocations: 1.4 MB / 1.385 GB, free: 6.852 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001937/0.4524, allocations: 205.4 kB / 1.385 GB, free: 6.648 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003898/0.4528, allocations: 276 kB / 1.385 GB, free: 6.379 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004344/0.4572, allocations: 2.572 MB / 1.388 GB, free: 3.699 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.269e-05/0.4572, allocations: 0 / 1.388 GB, free: 3.699 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001958/0.4574, allocations: 112 kB / 1.388 GB, free: 3.59 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.576e-05/0.4575, allocations: 64 kB / 1.388 GB, free: 3.527 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003352/0.4608, allocations: 1.71 MB / 1.39 GB, free: 1.805 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01209/0.4729, allocations: 6.48 MB / 1.396 GB, free: 11.22 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003865/0.4768, allocations: 1.897 MB / 1.398 GB, free: 9.316 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001429/0.4782, allocations: 0.7812 MB / 1.399 GB, free: 8.531 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-05/0.4783, allocations: 29.92 kB / 1.399 GB, free: 8.504 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001791/0.4801, allocations: 1.132 MB / 1.4 GB, free: 7.32 MB / 1.092 GB Notification: Performance of pre-optimization done (n=207): time 5.049e-06/0.4801, allocations: 0 / 1.4 GB, free: 7.32 MB / 1.092 GB Notification: Performance of matching and sorting (n=207): time 0.004236/0.4843, allocations: 2.217 MB / 1.402 GB, free: 5.102 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/0.4845, allocations: 174.5 kB / 1.402 GB, free: 4.902 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.4862, allocations: 1.077 MB / 1.403 GB, free: 3.809 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002489/0.4865, allocations: 101.7 kB / 1.403 GB, free: 3.703 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008782/0.4874, allocations: 0.8934 MB / 1.404 GB, free: 2.801 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005911/0.488, allocations: 0.6083 MB / 1.405 GB, free: 2.188 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000654/0.4886, allocations: 411.9 kB / 1.405 GB, free: 1.777 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4888, allocations: 301.1 kB / 1.405 GB, free: 1.48 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.4901, allocations: 0.675 MB / 1.406 GB, free: 0.7891 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/0.4918, allocations: 1.125 MB / 1.407 GB, free: 15.51 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002588/0.4944, allocations: 1.511 MB / 1.409 GB, free: 13.89 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.4944, allocations: 4 kB / 1.409 GB, free: 13.89 MB / 1.107 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.00373/0.4981, allocations: 1.969 MB / 1.411 GB, free: 11.9 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.454e-05/0.4982, allocations: 37.7 kB / 1.411 GB, free: 11.86 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.4982, allocations: 8 kB / 1.411 GB, free: 11.85 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.249e-05/0.4982, allocations: 16.59 kB / 1.411 GB, free: 11.84 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.4995, allocations: 327.4 kB / 1.411 GB, free: 11.52 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.859e-05/0.4995, allocations: 19.94 kB / 1.411 GB, free: 11.5 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.5007, allocations: 254.4 kB / 1.411 GB, free: 11.25 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/0.5008, allocations: 75.98 kB / 1.411 GB, free: 11.17 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002112/0.5029, allocations: 1.025 MB / 1.412 GB, free: 10.13 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001594/0.5045, allocations: 1.093 MB / 1.413 GB, free: 8.887 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002434/0.5069, allocations: 1.475 MB / 1.415 GB, free: 7.316 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.545e-06/0.5069, allocations: 0 / 1.415 GB, free: 7.316 MB / 1.107 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.003781/0.5107, allocations: 1.921 MB / 1.417 GB, free: 5.375 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 7.207e-05/0.5108, allocations: 41.7 kB / 1.417 GB, free: 5.328 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.5108, allocations: 4 kB / 1.417 GB, free: 5.324 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/0.5108, allocations: 20.03 kB / 1.417 GB, free: 5.305 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.5121, allocations: 315.7 kB / 1.417 GB, free: 4.996 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.241e-05/0.5121, allocations: 23.92 kB / 1.417 GB, free: 4.973 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/0.5133, allocations: 214.8 kB / 1.417 GB, free: 4.762 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/0.5135, allocations: 83.92 kB / 1.417 GB, free: 4.68 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 123 ($PRE.PIWitTun.resPro.norTimDel.tunEndDel.u,$PRE.PIWitTun.tunStaDel.u,uniDel2.u_internal,$PRE.uniDel2.u_internal,uniDel1.u_internal,$PRE.uniDel1.u_internal,$whenCondition21,$PRE.PIWitTun.resPro.norTimDel.tunEndDel.t_next,$whenCondition14,$PRE.PIWitTun.tunStaDel.t_next,$whenCondition6,$whenCondition1,$whenCondition2,PIWitTun.resPro.norTimDel.tunEndDel.t_next,PIWitTun.tunStaDel.t_next,uniDel1.sampleTrigger,$whenCondition3,uniDel2.sampleTrigger,$whenCondition4,PIWitTun.rel.hys.y,$PRE.PIWitTun.rel.hys.y,PIWitTun.resPro.triSta,PIWitTun.resPro.onOffPer.timOn.y,$PRE.PIWitTun.resPro.onOffPer.timOn.y,PIWitTun.resPro.onOffPer.timOff.y,$PRE.PIWitTun.resPro.onOffPer.timOff.y,PIWitTun.resPro.onOffPer.timOnRec.yRec.y,$PRE.PIWitTun.resPro.onOffPer.timOnRec.yRec.y,PIWitTun.resPro.onOffPer.timOnRec.samTri.u2,PIWitTun.resPro.onOffPer.timOnRec.samTri.y,PIWitTun.resPro.onOffPer.timOnRec.edgRes.u,$PRE.PIWitTun.resPro.onOffPer.timOnRec.edgRes.u,PIWitTun.resPro.onOffPer.timOnRec.edgThr.u,$PRE.PIWitTun.resPro.onOffPer.timOnRec.edgThr.u,PIWitTun.resPro.onOffPer.timOnRec.edgThr.y,PIWitTun.resPro.onOffPer.timOffRec.yRec.y,$PRE.PIWitTun.resPro.onOffPer.timOffRec.yRec.y,PIWitTun.resPro.onOffPer.timOffRec.samTri.u2,PIWitTun.resPro.onOffPer.timOffRec.samTri.y,PIWitTun.resPro.onOffPer.timOffRec.edgRes.u,$PRE.PIWitTun.resPro.onOffPer.timOffRec.edgRes.u,PIWitTun.resPro.onOffPer.timOffRec.edgThr.u,$PRE.PIWitTun.resPro.onOffPer.timOffRec.edgThr.u,PIWitTun.resPro.onOffPer.timOffRec.edgThr.y,PIWitTun.resPro.halPerRatio.tOnSam.y,$PRE.PIWitTun.resPro.halPerRatio.tOnSam.y,PIWitTun.resPro.halPerRatio.tOffSam.y,$PRE.PIWitTun.resPro.halPerRatio.tOffSam.y,PIWitTun.resPro.norTimDel.gre.greHys.y,$PRE.PIWitTun.resPro.norTimDel.gre.greHys.y,PIWitTun.resPro.norTimDel.or2.y,PIWitTun.resPro.norTimDel.tunEndDel.u,PIWitTun.resPro.norTimDel.tunEndDel.y,PIWitTun.resPro.tunMon.samAddtOntOff.y,$PRE.PIWitTun.resPro.tunMon.samAddtOntOff.y,PIWitTun.resPro.tunMon.tInc.y,PIWitTun.resPro.tunMon.tDec.y,PIWitTun.resPro.tunMon.edgTunSta.u,$PRE.PIWitTun.resPro.tunMon.edgTunSta.u,PIWitTun.resPro.tunMon.edgTunEnd.u,$PRE.PIWitTun.resPro.tunMon.edgTunEnd.u,PIWitTun.resPro.tunMon.greThr1.y,PIWitTun.conProMod.triEnd,PIWitTun.conProMod.tunSta,PIWitTun.conProMod.timConDel.gre1.greHys.y,$PRE.PIWitTun.conProMod.timConDel.gre1.greHys.y,PIWitTun.conProMod.timConDel.edg.u,$PRE.PIWitTun.conProMod.timConDel.edg.u,PIWitTun.conProMod.samK.y,$PRE.PIWitTun.conProMod.samK.y,PIWitTun.conProMod.samL.y,$PRE.PIWitTun.conProMod.samL.y,PIWitTun.conProMod.samtOn.y,$PRE.PIWitTun.conProMod.samtOn.y,PIWitTun.conProMod.samT.y,$PRE.PIWitTun.conProMod.samT.y,PIWitTun.conProMod.samTau.y,$PRE.PIWitTun.conProMod.samTau.y,PIWitTun.conProMod.not1.y,PIWitTun.inTunPro.u,PIWitTun.inTunPro.clr,PIWitTun.inTunPro.y,$PRE.PIWitTun.inTunPro.y,PIWitTun.samk.y,$PRE.PIWitTun.samk.y,PIWitTun.samTi.trigger,PIWitTun.samTi.y,$PRE.PIWitTun.samTi.y,PIWitTun.nand.u2,PIWitTun.nand.y,PIWitTun.edgReq.u,$PRE.PIWitTun.edgReq.u,PIWitTun.tunStaDel.u,PIWitTun.tunStaDel.y,PIWitTun.sam_u_s.y,$PRE.PIWitTun.sam_u_s.y,PIWitTun.greThr.greHys.y,$PRE.PIWitTun.greThr.greHys.y,PIWitTun.falEdg.y,PIWitTun.falEdg.not_u,$PRE.PIWitTun.falEdg.not_u,uniDel2.y,$PRE.uniDel2.y,autTunSig.y,$PRE.autTunSig.y,$whenCondition5,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition22,uniDel1.y,$PRE.uniDel1.y,PIWitTun.gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (272): * Single equations (assignments): 271 * 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.0006883/0.5142, allocations: 381.6 kB / 1.418 GB, free: 4.297 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003545/0.5145, allocations: 163 kB / 1.418 GB, free: 4.137 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003259/0.5178, allocations: 1.729 MB / 1.419 GB, free: 2.395 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-05/0.5178, allocations: 20 kB / 1.42 GB, free: 2.375 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.5178, allocations: 0 / 1.42 GB, free: 2.375 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.106e-05/0.5178, allocations: 19.91 kB / 1.42 GB, free: 2.355 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007265/0.5251, allocations: 4.092 MB / 1.424 GB, free: 14.17 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/0.5251, allocations: 4 kB / 1.424 GB, free: 14.16 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009379/0.526, allocations: 223.6 kB / 1.424 GB, free: 13.95 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.032e-05/0.5261, allocations: 15.98 kB / 1.424 GB, free: 13.93 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.5262, allocations: 51.91 kB / 1.424 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.437e-05/0.5262, allocations: 15.88 kB / 1.424 GB, free: 13.86 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.5262, allocations: 4 kB / 1.424 GB, free: 13.86 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004544/0.5307, allocations: 2.755 MB / 1.427 GB, free: 11.05 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007831/0.5315, allocations: 346.5 kB / 1.427 GB, free: 10.71 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/0.5317, allocations: 60.11 kB / 1.427 GB, free: 10.66 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006577/0.5324, allocations: 79.94 kB / 1.427 GB, free: 10.58 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003172/0.5327, allocations: 185.5 kB / 1.427 GB, free: 10.39 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/0.5328, allocations: 71.97 kB / 1.427 GB, free: 10.32 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001031/0.5339, allocations: 0.6797 MB / 1.428 GB, free: 9.637 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5339, allocations: 0 / 1.428 GB, free: 9.637 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002019/0.5359, allocations: 0.8757 MB / 1.429 GB, free: 8.758 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (derivative2.x,derivative1.x,PI.D.x,PI.I.y,PIWitTun.conProMod.gain.Iy.y,PIWitTun.con.I.y) * Number of discrete variables: 85 (PIWitTun.resPro.triSta,PIWitTun.samTi.trigger,PIWitTun.conProMod.triEnd,PIWitTun.tunStaDel.u,PIWitTun.resPro.norTimDel.tunEndDel.u,PIWitTun.inTunPro.clr,PIWitTun.resPro.tunMon.greThr1.y,PIWitTun.resPro.onOffPer.timOnRec.samTri.y,PIWitTun.resPro.onOffPer.timOffRec.samTri.y,uniDel2.sampleTrigger,uniDel1.sampleTrigger,PIWitTun.inTunPro.u,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,autTunSig.y,uniDel1.u_internal,uniDel1.y,uniDel2.u_internal,uniDel2.y,PIWitTun.falEdg.not_u,PIWitTun.falEdg.y,PIWitTun.greThr.greHys.y,PIWitTun.sam_u_s.y,PIWitTun.tunStaDel.t_next,PIWitTun.tunStaDel.y,PIWitTun.edgReq.u,PIWitTun.nand.y,PIWitTun.nand.u2,PIWitTun.samTi.y,PIWitTun.samk.y,PIWitTun.inTunPro.y,PIWitTun.conProMod.not1.y,PIWitTun.conProMod.samTau.y,PIWitTun.conProMod.samT.y,PIWitTun.conProMod.samtOn.y,PIWitTun.conProMod.samL.y,PIWitTun.conProMod.samK.y,PIWitTun.conProMod.timConDel.edg.u,PIWitTun.conProMod.timConDel.gre1.greHys.y,PIWitTun.conProMod.tunSta,PIWitTun.resPro.tunMon.edgTunEnd.u,PIWitTun.resPro.tunMon.edgTunSta.u,PIWitTun.resPro.tunMon.tDec.y,PIWitTun.resPro.tunMon.tInc.y,PIWitTun.resPro.tunMon.samAddtOntOff.y,PIWitTun.resPro.norTimDel.tunEndDel.t_next,PIWitTun.resPro.norTimDel.tunEndDel.y,PIWitTun.resPro.norTimDel.or2.y,PIWitTun.resPro.norTimDel.gre.greHys.y,PIWitTun.resPro.halPerRatio.tOffSam.y,PIWitTun.resPro.halPerRatio.tOnSam.y,PIWitTun.resPro.onOffPer.timOffRec.edgThr.y,PIWitTun.resPro.onOffPer.timOffRec.edgThr.u,PIWitTun.resPro.onOffPer.timOffRec.edgRes.u,PIWitTun.resPro.onOffPer.timOffRec.samTri.u2,PIWitTun.resPro.onOffPer.timOffRec.yRec.y,PIWitTun.resPro.onOffPer.timOnRec.edgThr.y,PIWitTun.resPro.onOffPer.timOnRec.edgThr.u,PIWitTun.resPro.onOffPer.timOnRec.edgRes.u,PIWitTun.resPro.onOffPer.timOnRec.samTri.u2,PIWitTun.resPro.onOffPer.timOnRec.yRec.y,PIWitTun.resPro.onOffPer.timOff.y,PIWitTun.resPro.onOffPer.timOn.y,PIWitTun.rel.hys.y,PIWitTun.gre.y) * Number of discrete states: 17 (PIWitTun.resPro.norTimDel.tunEndDel.t_next,PIWitTun.tunStaDel.t_next,uniDel1.u_internal,uniDel2.u_internal,PIWitTun.greThr.greHys.y,PIWitTun.falEdg.not_u,PIWitTun.edgReq.u,PIWitTun.resPro.onOffPer.timOffRec.edgRes.u,PIWitTun.resPro.onOffPer.timOnRec.edgRes.u,PIWitTun.rel.hys.y,PIWitTun.resPro.onOffPer.timOffRec.edgThr.u,PIWitTun.resPro.onOffPer.timOnRec.edgThr.u,PIWitTun.resPro.tunMon.edgTunEnd.u,PIWitTun.conProMod.timConDel.gre1.greHys.y,PIWitTun.conProMod.timConDel.edg.u,PIWitTun.resPro.norTimDel.gre.greHys.y,PIWitTun.resPro.tunMon.edgTunSta.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (207): * Single equations (assignments): 182 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 25 * 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.004999/0.5409, allocations: 3.433 MB / 1.432 GB, free: 5.254 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.005208/0.5461, allocations: 2.618 MB / 1.435 GB, free: 2.605 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/0.5461, allocations: 5.812 kB / 1.435 GB, free: 2.602 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001669/0.5478, allocations: 0.8396 MB / 1.435 GB, free: 1.762 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.5494, allocations: 319.5 kB / 1.436 GB, free: 1.453 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02178/0.5712, allocations: 13.01 MB / 1.448 GB, free: 3.895 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/0.5722, allocations: 0.8602 MB / 1.449 GB, free: 2.992 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001092/0.5733, allocations: 245.8 kB / 1.45 GB, free: 2.746 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/0.5746, allocations: 0.8624 MB / 1.45 GB, free: 1.887 MB / 1.139 GB Notification: Performance of SimCode: time 1.413e-06/0.5746, allocations: 0 / 1.45 GB, free: 1.887 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08306/0.6576, allocations: 35.4 MB / 1.485 GB, free: 14.95 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.18/13.83, allocations: 5.422 kB / 1.485 GB, free: 14.94 MB / 1.186 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO_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_DirectActingPIWithFirstOrderAMIGO.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Validation_DirectActingPIWithFirstOrderAMIGO.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable PI.u_s in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PI.u_s from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PI.u_m in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PI.u_m from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIWitTun.u_s in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIWitTun.u_s from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIWitTun.u_m in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIWitTun.u_m from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable autTunSig.y in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO_res.csv. Warning: Get data of variable autTunSig.y from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIWitTun.inTunPro.y in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIWitTun.inTunPro.y from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIWitTun.con.y in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIWitTun.con.y from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIWitTun.con.k in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIWitTun.con.k from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIWitTun.con.Ti in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIWitTun.con.Ti from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.DirectActingPIWithFirstOrderAMIGO_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.02662625198718]