Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001366/0.001366, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001457/0.001457, allocations: 219.8 kB / 23.03 MB, free: 4.941 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.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.253/3.253, allocations: 0.49 GB / 0.7959 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.ReverseActingPIDWithFirstOrderAMIGO,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Validation_ReverseActingPIDWithFirstOrderAMIGO",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Validation_ReverseActingPIDWithFirstOrderAMIGO",fmuType="cs",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.002067/0.002067, allocations: 68.23 kB / 1.155 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3538, allocations: 176.1 MB / 1.327 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO): time 0.01175/0.3656, allocations: 7.125 MB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.007163/0.3727, allocations: 3.126 MB / 1.337 GB, free: 7.215 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002077/0.3748, allocations: 63.69 kB / 1.337 GB, free: 7.152 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.3761, allocations: 355.9 kB / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001272/0.3773, allocations: 293.2 kB / 1.337 GB, free: 6.512 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002877/0.3802, allocations: 1.307 MB / 1.339 GB, free: 5.207 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004769/0.385, allocations: 3.292 MB / 1.342 GB, free: 1.902 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002979/0.388, allocations: 1.467 MB / 1.343 GB, free: 384 kB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001599/0.3896, allocations: 1.168 MB / 1.344 GB, free: 15.2 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/0.3911, allocations: 1.178 MB / 1.345 GB, free: 14.02 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000654/0.3917, allocations: 447.9 kB / 1.346 GB, free: 13.58 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006208/0.3923, allocations: 464 kB / 1.346 GB, free: 13.13 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007247/0.3931, allocations: 0.7481 MB / 1.347 GB, free: 12.38 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001121/0.3942, allocations: 1.104 MB / 1.348 GB, free: 11.27 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.006109/0.4003, allocations: 5.075 MB / 1.353 GB, free: 6.176 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.4003, allocations: 0 / 1.353 GB, free: 6.176 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.815e-06/0.4003, allocations: 0 / 1.353 GB, free: 6.176 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001305/0.4004, allocations: 0 / 1.353 GB, free: 6.176 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 640 * Number of variables: 640 Notification: Performance of Generate backend data structure: time 0.00756/0.408, allocations: 3.394 MB / 1.356 GB, free: 2.715 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.408, allocations: 12.03 kB / 1.356 GB, free: 2.703 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.749e-05/0.4081, allocations: 65.2 kB / 1.357 GB, free: 2.637 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005475/0.4087, allocations: 350.5 kB / 1.357 GB, free: 2.285 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005746/0.4093, allocations: 299.1 kB / 1.357 GB, free: 1.992 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002458/0.4117, allocations: 1.423 MB / 1.359 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002387/0.412, allocations: 209.4 kB / 1.359 GB, free: 336 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004483/0.4124, allocations: 267.9 kB / 1.359 GB, free: 68 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004728/0.4171, allocations: 2.581 MB / 1.362 GB, free: 13.37 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.932e-05/0.4172, allocations: 0 / 1.362 GB, free: 13.37 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002096/0.4174, allocations: 108 kB / 1.362 GB, free: 13.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.283e-05/0.4175, allocations: 60 kB / 1.362 GB, free: 13.21 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003488/0.4209, allocations: 1.694 MB / 1.363 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01132/0.4323, allocations: 5.965 MB / 1.369 GB, free: 5.438 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003294/0.4356, allocations: 1.724 MB / 1.371 GB, free: 3.711 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.437, allocations: 0.7734 MB / 1.372 GB, free: 2.93 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-05/0.4371, allocations: 25.98 kB / 1.372 GB, free: 2.902 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001931/0.439, allocations: 1.103 MB / 1.373 GB, free: 1.746 MB / 1.061 GB Notification: Performance of pre-optimization done (n=201): time 7.354e-06/0.439, allocations: 11.92 kB / 1.373 GB, free: 1.734 MB / 1.061 GB Notification: Performance of matching and sorting (n=201): time 0.004227/0.4432, allocations: 2.139 MB / 1.375 GB, free: 15.59 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001427/0.4434, allocations: 170.3 kB / 1.375 GB, free: 15.39 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/0.4451, allocations: 1.081 MB / 1.376 GB, free: 14.3 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002509/0.4453, allocations: 101.7 kB / 1.376 GB, free: 14.19 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009673/0.4463, allocations: 0.8974 MB / 1.377 GB, free: 13.29 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006303/0.4469, allocations: 0.6082 MB / 1.378 GB, free: 12.67 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000747/0.4477, allocations: 399.7 kB / 1.378 GB, free: 12.27 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.4478, allocations: 301.1 kB / 1.378 GB, free: 11.98 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001449/0.4493, allocations: 0.6668 MB / 1.379 GB, free: 11.29 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/0.451, allocations: 1.077 MB / 1.38 GB, free: 10.08 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002705/0.4538, allocations: 1.467 MB / 1.381 GB, free: 8.535 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.4538, allocations: 0 / 1.381 GB, free: 8.535 MB / 1.076 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.004139/0.4579, allocations: 1.929 MB / 1.383 GB, free: 6.586 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.024e-05/0.458, allocations: 39.72 kB / 1.383 GB, free: 6.543 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/0.458, allocations: 8 kB / 1.383 GB, free: 6.535 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.329e-05/0.458, allocations: 12 kB / 1.383 GB, free: 6.523 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.4594, allocations: 323.3 kB / 1.384 GB, free: 6.207 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.513e-05/0.4594, allocations: 19.94 kB / 1.384 GB, free: 6.188 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.4607, allocations: 254.5 kB / 1.384 GB, free: 5.938 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/0.4609, allocations: 71.98 kB / 1.384 GB, free: 5.867 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002273/0.4632, allocations: 1.017 MB / 1.385 GB, free: 4.836 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001718/0.4649, allocations: 1.057 MB / 1.386 GB, free: 3.637 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0026/0.4675, allocations: 1.412 MB / 1.387 GB, free: 2.141 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.476e-06/0.4675, allocations: 0 / 1.387 GB, free: 2.141 MB / 1.076 GB Notification: Performance of matching and sorting (n=265) (initialization_lambda0): time 0.003788/0.4713, allocations: 1.875 MB / 1.389 GB, free: 252 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.406e-05/0.4713, allocations: 41.73 kB / 1.389 GB, free: 204 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.4714, allocations: 4 kB / 1.389 GB, free: 200 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.4714, allocations: 19.94 kB / 1.389 GB, free: 180 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/0.4727, allocations: 307.5 kB / 1.39 GB, free: 15.88 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.151e-05/0.4728, allocations: 23.86 kB / 1.39 GB, free: 15.85 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.4741, allocations: 214.9 kB / 1.39 GB, free: 15.64 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001743/0.4743, allocations: 72.17 kB / 1.39 GB, free: 15.57 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 117 ($PRE.PIDWitTun.tunStaDel.u,uniDel1.u_internal,$PRE.uniDel1.u_internal,uniDel2.u_internal,$PRE.uniDel2.u_internal,$whenCondition17,$whenCondition15,$whenCondition16,$PRE.PIDWitTun.tunStaDel.t_next,$whenCondition10,uniDel2.sampleTrigger,$whenCondition13,uniDel1.sampleTrigger,$whenCondition14,PIDWitTun.tunStaDel.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.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.conProMod.nand1.y,PIDWitTun.inTunPro.clr,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,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition18,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 (263): * Single equations (assignments): 262 * 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.000632/0.4749, allocations: 377.6 kB / 1.39 GB, free: 15.19 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004563/0.4753, allocations: 166.9 kB / 1.39 GB, free: 15.03 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003483/0.4788, allocations: 1.667 MB / 1.392 GB, free: 13.35 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-05/0.4788, allocations: 31.88 kB / 1.392 GB, free: 13.32 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.4789, allocations: 0 / 1.392 GB, free: 13.32 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-05/0.4789, allocations: 7.969 kB / 1.392 GB, free: 13.31 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00878/0.4877, allocations: 3.991 MB / 1.396 GB, free: 9.223 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.4877, allocations: 0 / 1.396 GB, free: 9.223 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.4887, allocations: 231.6 kB / 1.396 GB, free: 8.996 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.238e-05/0.4888, allocations: 11.94 kB / 1.396 GB, free: 8.984 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001778/0.4889, allocations: 47.97 kB / 1.396 GB, free: 8.938 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.822e-05/0.489, allocations: 8.375 kB / 1.396 GB, free: 8.93 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/0.489, allocations: 11.94 kB / 1.396 GB, free: 8.918 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005307/0.4943, allocations: 2.661 MB / 1.399 GB, free: 6.203 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008927/0.4952, allocations: 334.4 kB / 1.399 GB, free: 5.875 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003073/0.4955, allocations: 59.98 kB / 1.399 GB, free: 5.816 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000806/0.4963, allocations: 83.92 kB / 1.399 GB, free: 5.734 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003425/0.4966, allocations: 173.6 kB / 1.399 GB, free: 5.566 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/0.4968, allocations: 67.97 kB / 1.4 GB, free: 5.5 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001196/0.498, allocations: 0.6916 MB / 1.4 GB, free: 4.801 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/0.498, allocations: 3.938 kB / 1.4 GB, free: 4.797 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00239/0.5004, allocations: 0.8718 MB / 1.401 GB, free: 3.922 MB / 1.092 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: 80 (PIDWitTun.samTd.trigger,PIDWitTun.conProMod.triEnd,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,uniDel1.sampleTrigger,uniDel2.sampleTrigger,$whenCondition18,$whenCondition17,$whenCondition15,$whenCondition16,$whenCondition14,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$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.nand1.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.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: 17 (PIDWitTun.tunStaDel.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 (201): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 24 * 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.005369/0.5057, allocations: 3.358 MB / 1.404 GB, free: 0.5 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.005525/0.5112, allocations: 2.555 MB / 1.407 GB, free: 13.91 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/0.5113, allocations: 7.938 kB / 1.407 GB, free: 13.9 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001716/0.513, allocations: 0.8361 MB / 1.408 GB, free: 13.07 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/0.5149, allocations: 335.6 kB / 1.408 GB, free: 12.75 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0258/0.5407, allocations: 12.92 MB / 1.421 GB, free: 15.31 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001498/0.5422, allocations: 0.8565 MB / 1.421 GB, free: 14.4 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001344/0.5435, allocations: 241.6 kB / 1.422 GB, free: 14.16 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001491/0.545, allocations: 0.8624 MB / 1.422 GB, free: 13.3 MB / 1.123 GB Notification: Performance of SimCode: time 1.563e-06/0.545, allocations: 4 kB / 1.422 GB, free: 13.29 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08837/0.6334, allocations: 35.51 MB / 1.457 GB, free: 10.39 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/15.49, allocations: 9.906 kB / 1.457 GB, free: 10.39 MB / 1.154 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Validation_ReverseActingPIDWithFirstOrderAMIGO_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Validation_ReverseActingPIDWithFirstOrderAMIGO.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Validation_ReverseActingPIDWithFirstOrderAMIGO.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIDWithFirstOrderAMIGO.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference: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 Variables in the result:PID.D.T,PID.D.k,PID.D.u,PID.D.x,PID.D.y,PID.D.y_start,PID.I.k,PID.I.trigger,PID.I.u,PID.I.y,PID.I.y_reset_in,PID.I.y_start,PID.Nd,PID.Ni,PID.P.k,PID.P.u,PID.P.y,PID.Td,PID.Ti,PID.controlError.u1,PID.controlError.u2,PID.controlError.y,PID.controllerType,PID.errD.u1,PID.errD.u2,PID.errD.y,PID.errI1.u1,PID.errI1.u2,PID.errI1.y,PID.errI2.u1,PID.errI2.u2,PID.errI2.y,PID.errP.u1,PID.errP.u2,PID.errP.y,PID.k,PID.lim.u,PID.lim.uMax,PID.lim.uMin,PID.lim.y,PID.r,PID.reverseActing,PID.trigger,PID.u_m,PID.u_s,PID.xi_start,PID.y,PID.yMax,PID.yMin,PID.y_reset,PID.yd_start,PIDWitTun.Nd,PIDWitTun.Ni,PIDWitTun.PIDPar.L,PIDWitTun.PIDPar.T,PIDWitTun.PIDPar.Td,PIDWitTun.PIDPar.Ti,PIDWitTun.PIDPar.k,PIDWitTun.PIDPar.kp,PIDWitTun.Td_start,PIDWitTun.Ti_start,PIDWitTun.con.D.T,PIDWitTun.con.D.k,PIDWitTun.con.D.u,PIDWitTun.con.D.x,PIDWitTun.con.D.y,PIDWitTun.con.D.y_start,PIDWitTun.con.I.k,PIDWitTun.con.I.trigger,PIDWitTun.con.I.u,PIDWitTun.con.I.y,PIDWitTun.con.I.y_reset_in,PIDWitTun.con.I.y_start,PIDWitTun.con.Nd,PIDWitTun.con.Ni,PIDWitTun.con.P.u1,PIDWitTun.con.P.u2,PIDWitTun.con.P.y,PIDWitTun.con.Td,PIDWitTun.con.Ti,PIDWitTun.con.antWinGai2.u1,PIDWitTun.con.antWinGai2.u2,PIDWitTun.con.antWinGai2.y,PIDWitTun.con.controlError.u1,PIDWitTun.con.controlError.u2,PIDWitTun.con.controlError.y,PIDWitTun.con.controllerType,PIDWitTun.con.errD.u1,PIDWitTun.con.errD.u2,PIDWitTun.con.errD.y,PIDWitTun.con.errI1.u1,PIDWitTun.con.errI1.u2,PIDWitTun.con.errI1.y,PIDWitTun.con.errI2.u1,PIDWitTun.con.errI2.u2,PIDWitTun.con.errI2.y,PIDWitTun.con.errIWithGai.u1,PIDWitTun.con.errIWithGai.u2,PIDWitTun.con.errIWithGai.y,PIDWitTun.con.errP.u1,PIDWitTun.con.errP.u2,PIDWitTun.con.errP.y,PIDWitTun.con.gaiI.u1,PIDWitTun.con.gaiI.u2,PIDWitTun.con.gaiI.y,PIDWitTun.con.greThrkTd.h,PIDWitTun.con.greThrkTd.pre_y_start,PIDWitTun.con.greThrkTd.t,PIDWitTun.con.greThrkTd.u,PIDWitTun.con.greThrkTd.y,PIDWitTun.con.k,PIDWitTun.con.lim.u,PIDWitTun.con.lim.uMax,PIDWitTun.con.lim.uMin,PIDWitTun.con.lim.y,PIDWitTun.con.mulkTd.u1,PIDWitTun.con.mulkTd.u2,PIDWitTun.con.mulkTd.y,PIDWitTun.con.r,PIDWitTun.con.reverseActing,PIDWitTun.con.trigger,PIDWitTun.con.u_m,PIDWitTun.con.u_s,PIDWitTun.con.xi_start,PIDWitTun.con.y,PIDWitTun.con.yMax,PIDWitTun.con.yMin,PIDWitTun.con.y_reset,PIDWitTun.con.yd_start,PIDWitTun.conProMod.L,PIDWitTun.conProMod.T,PIDWitTun.conProMod.deaBan,PIDWitTun.conProMod.gain.Iy.y,PIDWitTun.conProMod.inTun,PIDWitTun.conProMod.k,PIDWitTun.conProMod.tOff,PIDWitTun.conProMod.tOn,PIDWitTun.conProMod.tau,PIDWitTun.conProMod.triEnd,PIDWitTun.conProMod.triSta,PIDWitTun.conProMod.tunSta,PIDWitTun.conProMod.u,PIDWitTun.conProMod.yHig,PIDWitTun.conProMod.yLow,PIDWitTun.controllerType,PIDWitTun.deaBan,PIDWitTun.inTunPro.clr,PIDWitTun.inTunPro.u,PIDWitTun.inTunPro.y,PIDWitTun.k_start,PIDWitTun.r,PIDWitTun.rel.deaBan,PIDWitTun.rel.r,PIDWitTun.rel.reverseActing,PIDWitTun.rel.trigger,PIDWitTun.rel.u_m,PIDWitTun.rel.u_s,PIDWitTun.rel.y,PIDWitTun.rel.yDif,PIDWitTun.rel.yHig,PIDWitTun.rel.yLow,PIDWitTun.rel.yOn,PIDWitTun.resPro.inTun,PIDWitTun.resPro.on,PIDWitTun.resPro.tOff,PIDWitTun.resPro.tOn,PIDWitTun.resPro.tau,PIDWitTun.resPro.tim,PIDWitTun.resPro.triEnd,PIDWitTun.resPro.triSta,PIDWitTun.resPro.trigger,PIDWitTun.resPro.yHig,PIDWitTun.resPro.yLow,PIDWitTun.reverseActing,PIDWitTun.setHys,PIDWitTun.triRes,PIDWitTun.triTun,PIDWitTun.u_m,PIDWitTun.u_s,PIDWitTun.xi_start,PIDWitTun.y,PIDWitTun.yHig,PIDWitTun.yLow,PIDWitTun.yMax,PIDWitTun.yMin,PIDWitTun.yRef,PIDWitTun.y_reset,PIDWitTun.yd_start,SetPoint.k,SetPoint.y,T.k,T.y,autTunSig.period,autTunSig.shift,autTunSig.width,autTunSig.y,der(PID.D.x),der(PID.I.y),der(PIDWitTun.con.D.x),der(PIDWitTun.con.I.y),der(PIDWitTun.conProMod.gain.Iy.y),der(derivative1.x),der(derivative2.x),derivative1.T,derivative1.k,derivative1.u,derivative1.x,derivative1.y,derivative1.y_start,derivative2.T,derivative2.k,derivative2.u,derivative2.x,derivative2.y,derivative2.y_start,k.k,k.y,resSig.k,resSig.y,sub1.u1,sub1.u2,sub1.y,sub2.u1,sub2.u2,sub2.y,time,uniDel1.samplePeriod,uniDel1.u,uniDel1.y,uniDel1.y_start,uniDel2.samplePeriod,uniDel2.u,uniDel2.y,uniDel2.y_start [Calling sys.exit(0), Time elapsed: 22.688690740033053]