Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPIControlAutoTuning.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.001945/0.001945, allocations: 107.7 kB / 16.46 MB, free: 6.512 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.001871/0.001871, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.583/1.583, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.335/3.335, allocations: 0.505 GB / 0.8066 GB, free: 23.12 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.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPIControlAutoTuning,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPIControlAutoTuning",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPIControlAutoTuning,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPIControlAutoTuning",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.002077/0.002077, allocations: 65.61 kB / 1.172 GB, free: 17.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3497/0.3518, allocations: 180.2 MB / 1.348 GB, free: 9.906 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPIControlAutoTuning): time 1.125/1.477, allocations: 288.2 MB / 1.629 GB, free: 12.73 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.0372/1.514, allocations: 26.22 MB / 1.655 GB, free: 12.57 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007388/1.521, allocations: 195.8 kB / 1.655 GB, free: 12.57 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.00569/1.527, allocations: 1.785 MB / 1.657 GB, free: 12.55 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01581/1.543, allocations: 4.974 MB / 1.662 GB, free: 12.4 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01172/1.555, allocations: 4.224 MB / 1.666 GB, free: 12.32 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.03124/1.586, allocations: 21.17 MB / 1.686 GB, free: 12.29 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01575/1.602, allocations: 9.059 MB / 1.695 GB, free: 11.57 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01926/1.621, allocations: 8.299 MB / 1.703 GB, free: 9.539 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01242/1.633, allocations: 6.562 MB / 1.71 GB, free: 7.059 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.004101/1.637, allocations: 1.221 MB / 1.711 GB, free: 7.059 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01424/1.652, allocations: 5.499 MB / 1.716 GB, free: 6.105 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.00523/1.657, allocations: 3.029 MB / 1.719 GB, free: 4.336 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01089/1.668, allocations: 5.517 MB / 1.725 GB, free: 0.7969 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.03063/1.698, allocations: 19.08 MB / 1.743 GB, free: 7.066 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.698, allocations: 0 / 1.743 GB, free: 7.066 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.453e-06/1.698, allocations: 0 / 1.743 GB, free: 7.066 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0005468/1.699, allocations: 0 / 1.743 GB, free: 7.066 MB / 1.311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1758 * Number of variables: 1758 Notification: Performance of Generate backend data structure: time 0.03108/1.73, allocations: 10.55 MB / 1.754 GB, free: 15.95 MB / 1.326 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.73, allocations: 16.02 kB / 1.754 GB, free: 15.94 MB / 1.326 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003164/1.733, allocations: 0.9255 MB / 1.755 GB, free: 15.27 MB / 1.326 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01157/1.745, allocations: 1.809 MB / 1.756 GB, free: 14.39 MB / 1.326 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01706/1.762, allocations: 7.81 MB / 1.764 GB, free: 9.281 MB / 1.326 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004758/1.762, allocations: 0.526 MB / 1.764 GB, free: 9.043 MB / 1.326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002175/1.765, allocations: 0.7078 MB / 1.765 GB, free: 8.809 MB / 1.326 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02311/1.788, allocations: 9.004 MB / 1.774 GB, free: 15.84 MB / 1.342 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001912/1.788, allocations: 7.188 kB / 1.774 GB, free: 15.84 MB / 1.342 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001382/1.789, allocations: 290.9 kB / 1.774 GB, free: 15.56 MB / 1.342 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003113/1.79, allocations: 293.3 kB / 1.775 GB, free: 15.27 MB / 1.342 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01886/1.808, allocations: 7.687 MB / 1.782 GB, free: 7.59 MB / 1.342 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06314/1.872, allocations: 33.98 MB / 1.815 GB, free: 4.613 MB / 1.373 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0102/1.882, allocations: 5.509 MB / 1.821 GB, free: 15.07 MB / 1.389 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005987/1.888, allocations: 3.064 MB / 1.824 GB, free: 11.99 MB / 1.389 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001403/1.889, allocations: 0.9312 MB / 1.825 GB, free: 10.88 MB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00637/1.895, allocations: 3.144 MB / 1.828 GB, free: 7.715 MB / 1.389 GB Notification: Performance of pre-optimization done (n=479): time 7.094e-06/1.895, allocations: 0 / 1.828 GB, free: 7.715 MB / 1.389 GB Notification: Performance of matching and sorting (n=483): time 0.03735/1.933, allocations: 16.22 MB / 1.843 GB, free: 7.383 MB / 1.404 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000169/1.933, allocations: 206.3 kB / 1.844 GB, free: 7.152 MB / 1.404 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01158/1.945, allocations: 5.683 MB / 1.849 GB, free: 1.496 MB / 1.404 GB Notification: Performance of collectPreVariables (initialization): time 0.001291/1.946, allocations: 161.7 kB / 1.849 GB, free: 1.332 MB / 1.404 GB Notification: Performance of collectInitialEqns (initialization): time 0.005007/1.951, allocations: 3.421 MB / 1.853 GB, free: 13.91 MB / 1.42 GB Notification: Performance of collectInitialBindings (initialization): time 0.002787/1.954, allocations: 1.634 MB / 1.854 GB, free: 12.31 MB / 1.42 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002144/1.956, allocations: 0.9903 MB / 1.855 GB, free: 11.31 MB / 1.42 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.956, allocations: 309.1 kB / 1.856 GB, free: 11 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004795/1.961, allocations: 2.449 MB / 1.858 GB, free: 8.539 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006338/1.967, allocations: 3.495 MB / 1.861 GB, free: 4.688 MB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/1.978, allocations: 5.934 MB / 1.867 GB, free: 14.5 MB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.408e-05/1.978, allocations: 4 kB / 1.867 GB, free: 14.49 MB / 1.436 GB Notification: Performance of matching and sorting (n=663) (initialization): time 0.0174/1.996, allocations: 7.028 MB / 1.874 GB, free: 7.48 MB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/1.996, allocations: 85.86 kB / 1.874 GB, free: 7.387 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.755e-05/1.996, allocations: 20.06 kB / 1.874 GB, free: 7.367 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/1.997, allocations: 289.9 kB / 1.874 GB, free: 7.078 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005111/2.002, allocations: 1.011 MB / 1.875 GB, free: 6.133 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004188/2.006, allocations: 3.689 MB / 1.879 GB, free: 2.285 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006779/2.013, allocations: 390.5 kB / 1.879 GB, free: 1.906 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001066/2.014, allocations: 199.9 kB / 1.88 GB, free: 1.711 MB / 1.436 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01128/2.025, allocations: 4.829 MB / 1.884 GB, free: 12.88 MB / 1.451 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006566/2.032, allocations: 3.462 MB / 1.888 GB, free: 9.059 MB / 1.451 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01178/2.044, allocations: 5.894 MB / 1.893 GB, free: 2.902 MB / 1.451 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.323e-05/2.044, allocations: 4 kB / 1.893 GB, free: 2.898 MB / 1.451 GB Notification: Performance of matching and sorting (n=663) (initialization_lambda0): time 0.01748/2.061, allocations: 6.932 MB / 1.9 GB, free: 11.98 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/2.061, allocations: 76.95 kB / 1.9 GB, free: 11.89 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.142e-05/2.061, allocations: 24.06 kB / 1.9 GB, free: 11.87 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007672/2.062, allocations: 255.7 kB / 1.9 GB, free: 11.62 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004909/2.067, allocations: 0.9892 MB / 1.901 GB, free: 10.69 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005602/2.073, allocations: 4.763 MB / 1.906 GB, free: 5.664 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006714/2.079, allocations: 406.1 kB / 1.906 GB, free: 5.27 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00112/2.08, allocations: 195.9 kB / 1.907 GB, free: 5.078 MB / 1.467 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 118 ($PRE.con.resPro.norTimDel.tunEndDel.u,$PRE.con.tunStaDel.u,$whenCondition20,$PRE.con.resPro.norTimDel.tunEndDel.t_next,$whenCondition13,$PRE.con.tunStaDel.t_next,$whenCondition5,$whenCondition2,$whenCondition3,con.resPro.norTimDel.tunEndDel.t_next,con.tunStaDel.t_next,autTunSig.y,$PRE.autTunSig.y,con.falEdg.not_u,$PRE.con.falEdg.not_u,con.falEdg.y,con.greThr.greHys.y,$PRE.con.greThr.greHys.y,con.sam_u_s.y,$PRE.con.sam_u_s.y,con.tunStaDel.y,con.tunStaDel.u,con.edgReq.u,$PRE.con.edgReq.u,con.nand.y,con.nand.u2,con.samTi.y,$PRE.con.samTi.y,con.samTi.trigger,con.samk.y,$PRE.con.samk.y,con.inTunPro.y,$PRE.con.inTunPro.y,con.inTunPro.clr,con.inTunPro.u,con.conProMod.not1.y,con.conProMod.samTau.y,$PRE.con.conProMod.samTau.y,con.conProMod.samT.y,$PRE.con.conProMod.samT.y,con.conProMod.samtOn.y,$PRE.con.conProMod.samtOn.y,con.conProMod.samL.y,$PRE.con.conProMod.samL.y,con.conProMod.samK.y,$PRE.con.conProMod.samK.y,con.conProMod.timConDel.edg.u,$PRE.con.conProMod.timConDel.edg.u,con.conProMod.timConDel.gre1.greHys.y,$PRE.con.conProMod.timConDel.gre1.greHys.y,con.conProMod.tunSta,con.conProMod.triEnd,con.resPro.tunMon.greThr1.y,con.resPro.tunMon.edgTunEnd.u,$PRE.con.resPro.tunMon.edgTunEnd.u,con.resPro.tunMon.edgTunSta.u,$PRE.con.resPro.tunMon.edgTunSta.u,con.resPro.tunMon.tDec.y,con.resPro.tunMon.tInc.y,con.resPro.tunMon.samAddtOntOff.y,$PRE.con.resPro.tunMon.samAddtOntOff.y,con.resPro.norTimDel.tunEndDel.y,con.resPro.norTimDel.tunEndDel.u,con.resPro.norTimDel.or2.y,con.resPro.norTimDel.gre.greHys.y,$PRE.con.resPro.norTimDel.gre.greHys.y,con.resPro.halPerRatio.tOffSam.y,$PRE.con.resPro.halPerRatio.tOffSam.y,con.resPro.halPerRatio.tOnSam.y,$PRE.con.resPro.halPerRatio.tOnSam.y,con.resPro.onOffPer.timOffRec.edgThr.y,con.resPro.onOffPer.timOffRec.edgThr.u,$PRE.con.resPro.onOffPer.timOffRec.edgThr.u,con.resPro.onOffPer.timOffRec.edgRes.u,$PRE.con.resPro.onOffPer.timOffRec.edgRes.u,con.resPro.onOffPer.timOffRec.samTri.y,con.resPro.onOffPer.timOffRec.samTri.u2,con.resPro.onOffPer.timOffRec.yRec.y,$PRE.con.resPro.onOffPer.timOffRec.yRec.y,con.resPro.onOffPer.timOnRec.edgThr.y,con.resPro.onOffPer.timOnRec.edgThr.u,$PRE.con.resPro.onOffPer.timOnRec.edgThr.u,con.resPro.onOffPer.timOnRec.edgRes.u,$PRE.con.resPro.onOffPer.timOnRec.edgRes.u,con.resPro.onOffPer.timOnRec.samTri.y,con.resPro.onOffPer.timOnRec.samTri.u2,con.resPro.onOffPer.timOnRec.yRec.y,$PRE.con.resPro.onOffPer.timOnRec.yRec.y,con.resPro.onOffPer.timOff.y,$PRE.con.resPro.onOffPer.timOff.y,con.resPro.onOffPer.timOn.y,$PRE.con.resPro.onOffPer.timOn.y,con.resPro.triSta,con.rel.hys.y,$PRE.con.rel.hys.y,TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,$whenCondition4,$whenCondition7,$whenCondition6,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition15,$whenCondition14,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition21,con.gre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (634): * Single equations (assignments): 625 * Array equations: 4 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001745/2.082, allocations: 0.5778 MB / 1.907 GB, free: 4.547 MB / 1.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0021/2.084, allocations: 0.6251 MB / 1.908 GB, free: 3.918 MB / 1.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01401/2.098, allocations: 6.271 MB / 1.914 GB, free: 13.64 MB / 1.482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.256e-05/2.098, allocations: 47.98 kB / 1.914 GB, free: 13.59 MB / 1.482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/2.098, allocations: 4 kB / 1.914 GB, free: 13.59 MB / 1.482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01088/2.109, allocations: 5.264 MB / 1.919 GB, free: 8.293 MB / 1.482 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03497/2.144, allocations: 15.28 MB / 1.934 GB, free: 8.988 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/2.144, allocations: 8 kB / 1.934 GB, free: 8.98 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004475/2.149, allocations: 0.8701 MB / 1.935 GB, free: 8.152 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000667/2.149, allocations: 202.1 kB / 1.935 GB, free: 7.953 MB / 1.498 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000736/2.15, allocations: 127.9 kB / 1.935 GB, free: 7.828 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003535/2.154, allocations: 3.593 MB / 1.939 GB, free: 4.074 MB / 1.498 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/2.154, allocations: 11.38 kB / 1.939 GB, free: 4.066 MB / 1.498 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01824/2.172, allocations: 9.401 MB / 1.948 GB, free: 10.55 MB / 1.514 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004555/2.176, allocations: 1.383 MB / 1.949 GB, free: 9.148 MB / 1.514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001785/2.178, allocations: 124 kB / 1.949 GB, free: 9.027 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004752/2.183, allocations: 283.9 kB / 1.95 GB, free: 8.75 MB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009472/2.184, allocations: 337.2 kB / 1.95 GB, free: 8.426 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004999/2.184, allocations: 167.9 kB / 1.95 GB, free: 8.262 MB / 1.514 GB Notification: Performance of sorting global known variables: time 0.008614/2.193, allocations: 3.927 MB / 1.954 GB, free: 4.363 MB / 1.514 GB Notification: Performance of sort global known variables: time 3.9e-07/2.193, allocations: 4 kB / 1.954 GB, free: 4.359 MB / 1.514 GB Notification: Performance of remove unused functions: time 0.01271/2.206, allocations: 3.104 MB / 1.957 GB, free: 1.258 MB / 1.514 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 21 (temSen.T,val.actPos.y,hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.medium.Xi[1],hex.ele[1].vol2.dynBal.U,hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.medium.Xi[1],hex.ele[2].vol2.dynBal.U,hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.medium.Xi[1],hex.ele[3].vol2.dynBal.U,hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.medium.Xi[1],hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].mas.T,con.con.I.y,con.conProMod.gain.Iy.y) * Number of discrete variables: 83 (con.samTi.trigger,con.tunStaDel.u,con.resPro.norTimDel.tunEndDel.u,con.inTunPro.clr,con.resPro.triSta,con.conProMod.triEnd,con.resPro.tunMon.greThr1.y,con.resPro.onOffPer.timOnRec.samTri.y,con.resPro.onOffPer.timOffRec.samTri.y,con.inTunPro.u,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled,con.rel.hys.y,con.resPro.onOffPer.timOn.y,con.resPro.onOffPer.timOff.y,con.resPro.onOffPer.timOnRec.yRec.y,con.resPro.onOffPer.timOnRec.samTri.u2,con.resPro.onOffPer.timOnRec.edgRes.u,con.resPro.onOffPer.timOnRec.edgThr.u,con.resPro.onOffPer.timOnRec.edgThr.y,con.resPro.onOffPer.timOffRec.yRec.y,con.resPro.onOffPer.timOffRec.samTri.u2,con.resPro.onOffPer.timOffRec.edgRes.u,con.resPro.onOffPer.timOffRec.edgThr.u,con.resPro.onOffPer.timOffRec.edgThr.y,con.resPro.halPerRatio.tOnSam.y,con.resPro.halPerRatio.tOffSam.y,con.resPro.norTimDel.gre.greHys.y,con.resPro.norTimDel.or2.y,con.resPro.norTimDel.tunEndDel.y,con.resPro.norTimDel.tunEndDel.t_next,con.resPro.tunMon.samAddtOntOff.y,con.resPro.tunMon.tInc.y,con.resPro.tunMon.tDec.y,con.resPro.tunMon.edgTunSta.u,con.resPro.tunMon.edgTunEnd.u,con.conProMod.tunSta,con.conProMod.timConDel.gre1.greHys.y,con.conProMod.timConDel.edg.u,con.conProMod.samK.y,con.conProMod.samL.y,con.conProMod.samtOn.y,con.conProMod.samT.y,con.conProMod.samTau.y,con.conProMod.not1.y,con.inTunPro.y,con.samk.y,con.samTi.y,con.nand.u2,con.nand.y,con.edgReq.u,con.tunStaDel.y,con.tunStaDel.t_next,con.sam_u_s.y,con.greThr.greHys.y,con.falEdg.y,con.falEdg.not_u,autTunSig.y,con.gre.y) * Number of discrete states: 21 (con.resPro.norTimDel.tunEndDel.t_next,con.tunStaDel.t_next,con.edgReq.u,con.resPro.onOffPer.timOffRec.edgRes.u,con.resPro.onOffPer.timOnRec.edgRes.u,TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1,con.rel.hys.y,con.resPro.onOffPer.timOffRec.edgThr.u,con.resPro.onOffPer.timOnRec.edgThr.u,con.resPro.tunMon.edgTunEnd.u,con.conProMod.timConDel.gre1.greHys.y,con.conProMod.timConDel.edg.u,con.resPro.norTimDel.gre.greHys.y,con.resPro.tunMon.edgTunSta.u,con.greThr.greHys.y,con.falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (472): * Single equations (assignments): 443 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 21 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02078/2.226, allocations: 10.56 MB / 1.967 GB, free: 6.648 MB / 1.529 GB Notification: Performance of simCode: created initialization part: time 0.01942/2.246, allocations: 9.351 MB / 1.976 GB, free: 13.4 MB / 1.545 GB Notification: Performance of simCode: created event and clocks part: time 1.938e-05/2.246, allocations: 5.312 kB / 1.977 GB, free: 13.4 MB / 1.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006151/2.252, allocations: 3.026 MB / 1.979 GB, free: 10.45 MB / 1.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0167/2.269, allocations: 3.173 MB / 1.983 GB, free: 7.352 MB / 1.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.12/2.389, allocations: 54.33 MB / 2.036 GB, free: 188 kB / 1.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008158/2.397, allocations: 5.13 MB / 2.041 GB, free: 11.02 MB / 1.607 GB Notification: Performance of simCode: alias equations: time 0.009628/2.407, allocations: 2.785 MB / 2.043 GB, free: 8.254 MB / 1.607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007706/2.414, allocations: 3.331 MB / 2.047 GB, free: 4.922 MB / 1.607 GB Notification: Performance of SimCode: time 1.242e-06/2.414, allocations: 0 / 2.047 GB, free: 4.922 MB / 1.607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3046/2.719, allocations: 170.1 MB / 2.213 GB, free: 12.42 MB / 1.779 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.15/28.87, allocations: 11.62 kB / 2.213 GB, free: 12.41 MB / 1.779 GB " [Timeout remaining time 271] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPIControlAutoTuning.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPIControlAutoTuning.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPIControlAutoTuning.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPIControlAutoTuning.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPIControlAutoTuning_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPIControlAutoTuning_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPIControlAutoTuning.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPIControlAutoTuning.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPIControlAutoTuning_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_WetCoilCounterFlowPIControlAutoTuning.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPIControlAutoTuning.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,hex.m1_flow,hex.m2_flow,con.u_s,con.u_m,hex.Q1_flow,hex.Q2_flow,hex.QLat2_flow,hex.QSen2_flow,autTunSig.y,con.inTunPro.y,con.con.k,con.con.Ti Variables in the result:TSet.offset,TSet.shiftTime,TSet.startTime,TSet.table[1,1],TSet.table[1,2],TSet.table[2,1],TSet.table[2,2],TSet.table[3,1],TSet.table[3,2],TSet.table[4,1],TSet.table[4,2],TSet.table[5,1],TSet.table[5,2],TSet.table[6,1],TSet.table[6,2],TSet.table[7,1],TSet.table[7,2],TSet.table[8,1],TSet.table[8,2],TSet.table[9,1],TSet.table[9,2],TSet.timeScale,TSet.y,TWat.duration,TWat.height,TWat.offset,TWat.startTime,TWat.y,T_a1_nominal,T_a2_nominal,T_b1_nominal,T_b2_nominal,autTunSig.period,autTunSig.shift,autTunSig.width,autTunSig.y,con.Nd,con.Ni,con.PIPar.L,con.PIPar.T,con.PIPar.Ti,con.PIPar.k,con.PIPar.kp,con.Td_start,con.Ti_start,con.con.I.k,con.con.I.trigger,con.con.I.u,con.con.I.y,con.con.I.y_reset_in,con.con.I.y_start,con.con.Nd,con.con.Ni,con.con.P.u1,con.con.P.u2,con.con.P.y,con.con.Ti,con.con.antWinGai2.u1,con.con.antWinGai2.u2,con.con.antWinGai2.y,con.con.controlError.u1,con.con.controlError.u2,con.con.controlError.y,con.con.controllerType,con.con.errI1.u1,con.con.errI1.u2,con.con.errI1.y,con.con.errI2.u1,con.con.errI2.u2,con.con.errI2.y,con.con.errIWithGai.u1,con.con.errIWithGai.u2,con.con.errIWithGai.y,con.con.errP.u1,con.con.errP.u2,con.con.errP.y,con.con.gaiI.u1,con.con.gaiI.u2,con.con.gaiI.y,con.con.k,con.con.lim.u,con.con.lim.uMax,con.con.lim.uMin,con.con.lim.y,con.con.r,con.con.reverseActing,con.con.trigger,con.con.u_m,con.con.u_s,con.con.xi_start,con.con.y,con.con.yMax,con.con.yMin,con.con.y_reset,con.con.yd_start,con.conProMod.L,con.conProMod.T,con.conProMod.deaBan,con.conProMod.gain.Iy.y,con.conProMod.k,con.conProMod.tOff,con.conProMod.tOn,con.conProMod.tau,con.conProMod.triEnd,con.conProMod.triSta,con.conProMod.tunSta,con.conProMod.u,con.conProMod.yHig,con.conProMod.yLow,con.controllerType,con.deaBan,con.inTunPro.clr,con.inTunPro.u,con.inTunPro.y,con.k_start,con.r,con.rel.deaBan,con.rel.r,con.rel.reverseActing,con.rel.trigger,con.rel.u_m,con.rel.u_s,con.rel.y,con.rel.yDif,con.rel.yHig,con.rel.yLow,con.rel.yOn,con.resPro.inTun,con.resPro.on,con.resPro.tOff,con.resPro.tOn,con.resPro.tau,con.resPro.tim,con.resPro.triEnd,con.resPro.triSta,con.resPro.trigger,con.resPro.yHig,con.resPro.yLow,con.reverseActing,con.setHys,con.triRes,con.triTun,con.u_m,con.u_s,con.xi_start,con.y,con.yHig,con.yLow,con.yMax,con.yMin,con.yRef,con.y_reset,con.yd_start,const.k,const.y,const1.k,const1.y,der(con.con.I.y),der(con.conProMod.gain.Iy.y),der(hex.ele[1].mas.T),der(hex.ele[1].vol1.dynBal.U),der(hex.ele[1].vol2.dynBal.U),der(hex.ele[1].vol2.dynBal.medium.Xi[1]),der(hex.ele[2].mas.T),der(hex.ele[2].vol1.dynBal.U),der(hex.ele[2].vol2.dynBal.U),der(hex.ele[2].vol2.dynBal.medium.Xi[1]),der(hex.ele[3].mas.T),der(hex.ele[3].vol1.dynBal.U),der(hex.ele[3].vol2.dynBal.U),der(hex.ele[3].vol2.dynBal.medium.Xi[1]),der(hex.ele[4].mas.T),der(hex.ele[4].vol1.dynBal.U),der(hex.ele[4].vol2.dynBal.U),der(hex.ele[4].vol2.dynBal.m),der(hex.ele[4].vol2.dynBal.medium.Xi[1]),der(temSen.T),der(val.actPos.y),hex.GDif,hex.Q1_flow,hex.Q2_flow,hex.QLat2_flow,hex.QSen2_flow,hex.SHR,hex.T1[1],hex.T1[2],hex.T1[3],hex.T1[4],hex.T2[1],hex.T2[2],hex.T2[3],hex.T2[4],hex.T_m[1],hex.T_m[2],hex.T_m[3],hex.T_m[4],hex.UA_nominal,hex.airSideFlowDependent,hex.airSideTemperatureDependent,hex.allowFlowReversal1,hex.allowFlowReversal2,hex.computeFlowResistance1,hex.computeFlowResistance2,hex.deltaM1,hex.deltaM2,hex.dp1,hex.dp1_nominal,hex.dp2,hex.dp2_nominal,hex.ele[1].mas.T,hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.medium.Xi[1],hex.ele[2].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.medium.Xi[1],hex.ele[3].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.medium.Xi[1],hex.ele[4].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.medium.Xi[1],hex.energyDynamics,hex.from_dp1,hex.from_dp2,hex.hA.T0_a,hex.hA.T0_w,hex.hA.T_1,hex.hA.T_2,hex.hA.UA_nominal,hex.hA.airSideFlowDependent,hex.hA.airSideTemperatureDependent,hex.hA.hA_1,hex.hA.hA_2,hex.hA.hA_nominal_a,hex.hA.hA_nominal_w,hex.hA.m1_flow,hex.hA.m2_flow,hex.hA.m_flow_nominal_a,hex.hA.m_flow_nominal_w,hex.hA.n_a,hex.hA.n_w,hex.hA.r_nominal,hex.hA.waterSideFlowDependent,hex.hA.waterSideTemperatureDependent,hex.linearizeFlowResistance1,hex.linearizeFlowResistance2,hex.m1_flow,hex.m1_flow_nominal,hex.m1_flow_small,hex.m2_flow,hex.m2_flow_nominal,hex.m2_flow_small,hex.mWat_flow,hex.nEle,hex.port_a1.h_outflow,hex.port_a1.m_flow,hex.port_a1.p,hex.port_a2.Xi_outflow[1],hex.port_a2.h_outflow,hex.port_a2.m_flow,hex.port_a2.p,hex.port_b1.h_outflow,hex.port_b1.m_flow,hex.port_b1.p,hex.port_b2.Xi_outflow[1],hex.port_b2.h_outflow,hex.port_b2.m_flow,hex.port_b2.p,hex.r_nominal,hex.show_T,hex.sta_a1.T,hex.sta_a1.p,hex.sta_a2.T,hex.sta_a2.X[1],hex.sta_a2.X[2],hex.sta_a2.p,hex.sta_b1.T,hex.sta_b1.p,hex.sta_b2.T,hex.sta_b2.X[1],hex.sta_b2.X[2],hex.sta_b2.p,hex.tau1,hex.tau2,hex.tau_m,hex.waterSideFlowDependent,hex.waterSideTemperatureDependent,m1_flow_nominal,m2_flow_nominal,resSig.k,resSig.y,res_1.allowFlowReversal,res_1.deltaM,res_1.dp,res_1.dp_nominal,res_1.from_dp,res_1.k,res_1.linearized,res_1.m_flow,res_1.m_flow_nominal,res_1.m_flow_small,res_1.m_flow_turbulent,res_1.port_a.h_outflow,res_1.port_a.m_flow,res_1.port_a.p,res_1.port_b.h_outflow,res_1.port_b.m_flow,res_1.port_b.p,res_1.show_T,res_2.allowFlowReversal,res_2.deltaM,res_2.dp,res_2.dp_nominal,res_2.from_dp,res_2.k,res_2.linearized,res_2.m_flow,res_2.m_flow_nominal,res_2.m_flow_small,res_2.m_flow_turbulent,res_2.port_a.Xi_outflow[1],res_2.port_a.h_outflow,res_2.port_a.m_flow,res_2.port_a.p,res_2.port_b.Xi_outflow[1],res_2.port_b.h_outflow,res_2.port_b.m_flow,res_2.port_b.p,res_2.show_T,sin_1.T,sin_1.X[1],sin_1.nPorts,sin_1.p,sin_1.ports[1].h_outflow,sin_1.ports[1].m_flow,sin_1.ports[1].p,sin_1.use_C_in,sin_1.use_T_in,sin_1.use_X_in,sin_1.use_Xi_in,sin_1.use_p_in,sin_1.verifyInputs,sin_2.T,sin_2.X[1],sin_2.X[2],sin_2.nPorts,sin_2.p,sin_2.ports[1].Xi_outflow[1],sin_2.ports[1].h_outflow,sin_2.ports[1].m_flow,sin_2.ports[1].p,sin_2.use_C_in,sin_2.use_T_in,sin_2.use_X_in,sin_2.use_Xi_in,sin_2.use_p_in,sin_2.verifyInputs,sou_1.T,sou_1.T_in,sou_1.X[1],sou_1.nPorts,sou_1.p,sou_1.ports[1].h_outflow,sou_1.ports[1].m_flow,sou_1.ports[1].p,sou_1.use_C_in,sou_1.use_T_in,sou_1.use_X_in,sou_1.use_Xi_in,sou_1.use_p_in,sou_1.verifyInputs,sou_2.T,sou_2.T_in,sou_2.X[1],sou_2.X[2],sou_2.X_in[1],sou_2.X_in[2],sou_2.nPorts,sou_2.p,sou_2.ports[1].Xi_outflow[1],sou_2.ports[1].h_outflow,sou_2.ports[1].m_flow,sou_2.ports[1].p,sou_2.use_C_in,sou_2.use_T_in,sou_2.use_X_in,sou_2.use_Xi_in,sou_2.use_p_in,sou_2.verifyInputs,temSen.T,temSen.TAmb,temSen.T_start,temSen.allowFlowReversal,temSen.initType,temSen.m_flow_nominal,temSen.m_flow_small,temSen.port_a.Xi_outflow[1],temSen.port_a.h_outflow,temSen.port_a.m_flow,temSen.port_a.p,temSen.port_b.Xi_outflow[1],temSen.port_b.h_outflow,temSen.port_b.m_flow,temSen.port_b.p,temSen.tau,temSen.tauHeaTra,temSen.transferHeat,time,val.Av,val.Cv,val.CvData,val.Kv,val.R,val.actPos.y,val.allowFlowReversal,val.delta0,val.deltaM,val.dp,val.dpFixed_nominal,val.dpValve_nominal,val.dp_nominal,val.from_dp,val.init,val.k,val.kFixed,val.kVal,val.l,val.linearized,val.m_flow,val.m_flow_nominal,val.m_flow_small,val.m_flow_turbulent,val.phi,val.port_a.h_outflow,val.port_a.m_flow,val.port_a.p,val.port_b.h_outflow,val.port_b.m_flow,val.port_b.p,val.rhoStd,val.show_T,val.strokeTime,val.use_strokeTime,val.y,val.y_actual,val.y_start,x_pTphi.T,x_pTphi.X[1],x_pTphi.X[2],x_pTphi.p,x_pTphi.phi,x_pTphi.use_p_in [Calling sys.exit(0), Time elapsed: 36.49383903690614]