Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO.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.001822/0.001822, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002372/0.002372, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.812 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.387/3.387, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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.ReverseActingPIWithFirstOrderAMIGO,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Validation_ReverseActingPIWithFirstOrderAMIGO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Validation_ReverseActingPIWithFirstOrderAMIGO",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.002066/0.002066, allocations: 73.27 kB / 1.186 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3851, allocations: 181.9 MB / 1.363 GB, free: 14.22 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO): time 0.01208/0.3972, allocations: 7.15 MB / 1.37 GB, free: 7.027 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007118/0.4043, allocations: 3.157 MB / 1.373 GB, free: 3.863 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002265/0.4066, allocations: 67.62 kB / 1.374 GB, free: 3.797 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.4078, allocations: 359.9 kB / 1.374 GB, free: 3.441 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001279/0.4091, allocations: 281.3 kB / 1.374 GB, free: 3.164 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002609/0.4117, allocations: 1.306 MB / 1.375 GB, free: 1.859 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003655/0.4153, allocations: 3.251 MB / 1.379 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002391/0.4177, allocations: 1.352 MB / 1.38 GB, free: 13.19 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.4191, allocations: 1.133 MB / 1.381 GB, free: 12.05 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.4202, allocations: 0.9906 MB / 1.382 GB, free: 11.05 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005332/0.4207, allocations: 440 kB / 1.382 GB, free: 10.62 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005297/0.4213, allocations: 452 kB / 1.383 GB, free: 10.18 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005975/0.4218, allocations: 0.7364 MB / 1.384 GB, free: 9.445 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.4229, allocations: 1.085 MB / 1.385 GB, free: 8.355 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005319/0.4282, allocations: 5.031 MB / 1.39 GB, free: 3.309 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.4282, allocations: 0 / 1.39 GB, free: 3.309 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4282, allocations: 0 / 1.39 GB, free: 3.309 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000118/0.4283, allocations: 0 / 1.39 GB, free: 3.309 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: 625 * Number of variables: 625 Notification: Performance of Generate backend data structure: time 0.006313/0.4347, allocations: 3.307 MB / 1.393 GB, free: 15.93 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 6.139e-05/0.4347, allocations: 12.03 kB / 1.393 GB, free: 15.92 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004072/0.4351, allocations: 334.1 kB / 1.393 GB, free: 15.58 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005629/0.4357, allocations: 291.2 kB / 1.393 GB, free: 15.3 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/0.4382, allocations: 1.384 MB / 1.395 GB, free: 13.88 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.4384, allocations: 201.3 kB / 1.395 GB, free: 13.68 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003758/0.4388, allocations: 268.1 kB / 1.395 GB, free: 13.42 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004717/0.4435, allocations: 2.511 MB / 1.398 GB, free: 10.8 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.457e-05/0.4436, allocations: 0 / 1.398 GB, free: 10.8 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/0.4438, allocations: 112 kB / 1.398 GB, free: 10.69 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.303e-05/0.4438, allocations: 60 kB / 1.398 GB, free: 10.63 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003339/0.4472, allocations: 1.666 MB / 1.399 GB, free: 8.953 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01227/0.4594, allocations: 6.361 MB / 1.406 GB, free: 2.477 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003489/0.4629, allocations: 1.737 MB / 1.407 GB, free: 0.7383 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001425/0.4643, allocations: 0.738 MB / 1.408 GB, free: 15.99 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-05/0.4644, allocations: 25.94 kB / 1.408 GB, free: 15.97 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001871/0.4663, allocations: 1.097 MB / 1.409 GB, free: 14.82 MB / 1.107 GB Notification: Performance of pre-optimization done (n=198): time 4.359e-06/0.4663, allocations: 0 / 1.409 GB, free: 14.82 MB / 1.107 GB Notification: Performance of matching and sorting (n=198): time 0.004305/0.4706, allocations: 2.127 MB / 1.411 GB, free: 12.69 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000166/0.4708, allocations: 170.5 kB / 1.411 GB, free: 12.5 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.4723, allocations: 1.048 MB / 1.412 GB, free: 11.43 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002108/0.4725, allocations: 105.7 kB / 1.412 GB, free: 11.32 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008959/0.4734, allocations: 0.8852 MB / 1.413 GB, free: 10.43 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006117/0.474, allocations: 0.5811 MB / 1.414 GB, free: 9.84 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000583/0.4746, allocations: 395.7 kB / 1.414 GB, free: 9.445 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4748, allocations: 309.1 kB / 1.415 GB, free: 9.141 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.4761, allocations: 0.6395 MB / 1.415 GB, free: 8.484 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/0.4777, allocations: 1.101 MB / 1.416 GB, free: 7.223 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002454/0.4801, allocations: 1.465 MB / 1.418 GB, free: 5.664 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-05/0.4801, allocations: 7.938 kB / 1.418 GB, free: 5.656 MB / 1.107 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.003502/0.4836, allocations: 1.906 MB / 1.42 GB, free: 3.73 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.657e-05/0.4837, allocations: 33.7 kB / 1.42 GB, free: 3.691 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.683e-05/0.4837, allocations: 8 kB / 1.42 GB, free: 3.684 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.28e-05/0.4837, allocations: 16 kB / 1.42 GB, free: 3.668 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.4849, allocations: 311.4 kB / 1.42 GB, free: 3.363 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.837e-05/0.4849, allocations: 19.94 kB / 1.42 GB, free: 3.344 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.486, allocations: 246.5 kB / 1.42 GB, free: 3.102 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001382/0.4861, allocations: 76.11 kB / 1.42 GB, free: 3.027 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001927/0.4881, allocations: 0.99 MB / 1.421 GB, free: 2.023 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0015/0.4896, allocations: 1.078 MB / 1.422 GB, free: 0.7891 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002298/0.4919, allocations: 1.418 MB / 1.424 GB, free: 15.27 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.436e-06/0.4919, allocations: 7.938 kB / 1.424 GB, free: 15.26 MB / 1.123 GB Notification: Performance of matching and sorting (n=265) (initialization_lambda0): time 0.003516/0.4954, allocations: 1.856 MB / 1.425 GB, free: 13.39 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.701e-05/0.4954, allocations: 41.69 kB / 1.426 GB, free: 13.34 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.4954, allocations: 8 kB / 1.426 GB, free: 13.33 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.4955, allocations: 16.19 kB / 1.426 GB, free: 13.32 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.4966, allocations: 299.4 kB / 1.426 GB, free: 13.02 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.569e-05/0.4966, allocations: 19.98 kB / 1.426 GB, free: 13 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.4977, allocations: 215.2 kB / 1.426 GB, free: 12.79 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.4978, allocations: 71.98 kB / 1.426 GB, free: 12.72 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 123 ($PRE.PIWitTun.resPro.norTimDel.tunEndDel.u,$PRE.PIWitTun.tunStaDel.u,uniDel1.u_internal,$PRE.uniDel1.u_internal,uniDel2.u_internal,$PRE.uniDel2.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,uniDel2.sampleTrigger,$whenCondition3,uniDel1.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 (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.0006924/0.4985, allocations: 381.6 kB / 1.426 GB, free: 12.34 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003118/0.4988, allocations: 159 kB / 1.427 GB, free: 12.18 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/0.502, allocations: 1.666 MB / 1.428 GB, free: 10.51 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.171e-05/0.502, allocations: 20 kB / 1.428 GB, free: 10.49 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.502, allocations: 0 / 1.428 GB, free: 10.49 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/0.502, allocations: 11.95 kB / 1.428 GB, free: 10.48 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006853/0.5089, allocations: 3.948 MB / 1.432 GB, free: 6.438 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.5089, allocations: 4 kB / 1.432 GB, free: 6.434 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008384/0.5097, allocations: 211.6 kB / 1.432 GB, free: 6.227 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.554e-05/0.5098, allocations: 12 kB / 1.432 GB, free: 6.215 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-05/0.5099, allocations: 48.19 kB / 1.432 GB, free: 6.168 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.178e-05/0.5099, allocations: 12 kB / 1.432 GB, free: 6.156 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.074e-05/0.5099, allocations: 11.92 kB / 1.432 GB, free: 6.145 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004451/0.5143, allocations: 2.625 MB / 1.435 GB, free: 3.477 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008096/0.5151, allocations: 338.5 kB / 1.435 GB, free: 3.145 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/0.5153, allocations: 55.98 kB / 1.435 GB, free: 3.09 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006445/0.516, allocations: 79.92 kB / 1.435 GB, free: 3.012 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003174/0.5163, allocations: 169.6 kB / 1.436 GB, free: 2.848 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.5164, allocations: 67.91 kB / 1.436 GB, free: 2.781 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001078/0.5175, allocations: 0.6672 MB / 1.436 GB, free: 2.105 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.5175, allocations: 0 / 1.436 GB, free: 2.105 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002139/0.5196, allocations: 0.8523 MB / 1.437 GB, free: 1.25 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (derivative2.x,derivative1.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,uniDel1.sampleTrigger,uniDel2.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,uniDel2.u_internal,uniDel2.y,uniDel1.u_internal,uniDel1.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,uniDel2.u_internal,uniDel1.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 (198): * Single equations (assignments): 173 * 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.00486/0.5245, allocations: 3.319 MB / 1.44 GB, free: 13.87 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00483/0.5293, allocations: 2.515 MB / 1.443 GB, free: 11.32 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/0.5293, allocations: 4.812 kB / 1.443 GB, free: 11.32 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001498/0.5308, allocations: 0.7962 MB / 1.444 GB, free: 10.53 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.5325, allocations: 309.2 kB / 1.444 GB, free: 10.23 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02295/0.5555, allocations: 12.57 MB / 1.456 GB, free: 13.12 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00127/0.5568, allocations: 0.8344 MB / 1.457 GB, free: 12.24 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001218/0.558, allocations: 249.3 kB / 1.457 GB, free: 11.99 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001323/0.5593, allocations: 0.8351 MB / 1.458 GB, free: 11.15 MB / 1.154 GB Notification: Performance of SimCode: time 1.202e-06/0.5593, allocations: 3.938 kB / 1.458 GB, free: 11.15 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1112/0.6705, allocations: 34.02 MB / 1.491 GB, free: 9.605 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.81, allocations: 0 / 1.491 GB, free: 9.605 MB / 1.186 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO_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_ReverseActingPIWithFirstOrderAMIGO.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Validation_ReverseActingPIWithFirstOrderAMIGO.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO.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.ReverseActingPIWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PI.u_s from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PI.u_m in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PI.u_m from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIWitTun.u_s in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIWitTun.u_s from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIWitTun.u_m in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIWitTun.u_m from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable autTunSig.y in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO_res.csv. Warning: Get data of variable autTunSig.y from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIWitTun.inTunPro.y in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIWitTun.inTunPro.y from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIWitTun.con.y in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIWitTun.con.y from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIWitTun.con.k in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIWitTun.con.k from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO_res.csv failed! Error: Could not read variable PIWitTun.con.Ti in file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO_res.csv. Warning: Get data of variable PIWitTun.con.Ti from file Buildings_latest_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Validation.ReverseActingPIWithFirstOrderAMIGO_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.303607842419297]