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.001356/0.001356, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00164/0.00164, allocations: 214.8 kB / 22.25 MB, free: 5.078 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.493/1.493, allocations: 230.6 MB / 256 MB, free: 7.996 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.325/3.325, allocations: 0.505 GB / 0.8101 GB, free: 22.16 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.002321/0.002321, allocations: 69.83 kB / 1.177 GB, free: 17.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3614, allocations: 180.2 MB / 1.353 GB, free: 8.508 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilCounterFlowPIControlAutoTuning): time 1.16/1.521, allocations: 289.3 MB / 1.635 GB, free: 13.03 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.03718/1.559, allocations: 26.34 MB / 1.661 GB, free: 12.86 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006859/1.565, allocations: 195.3 kB / 1.661 GB, free: 12.86 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.005449/1.571, allocations: 1.787 MB / 1.663 GB, free: 12.84 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01525/1.586, allocations: 5.047 MB / 1.668 GB, free: 12.68 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01143/1.598, allocations: 4.332 MB / 1.672 GB, free: 12.56 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.0302/1.628, allocations: 21.53 MB / 1.693 GB, free: 12.53 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01829/1.646, allocations: 7.84 MB / 1.701 GB, free: 11.96 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02361/1.67, allocations: 8.344 MB / 1.709 GB, free: 8.965 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01545/1.685, allocations: 6.575 MB / 1.715 GB, free: 6.473 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.003657/1.689, allocations: 1.221 MB / 1.717 GB, free: 6.473 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01324/1.702, allocations: 5.568 MB / 1.722 GB, free: 5.5 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.004574/1.707, allocations: 3.021 MB / 1.725 GB, free: 3.727 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01088/1.717, allocations: 5.526 MB / 1.73 GB, free: 180 kB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.03239/1.75, allocations: 19.08 MB / 1.749 GB, free: 6.316 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.75, allocations: 0 / 1.749 GB, free: 6.316 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.503e-06/1.75, allocations: 2.938 kB / 1.749 GB, free: 6.316 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0005277/1.75, allocations: 0.9375 kB / 1.749 GB, free: 6.316 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.03543/1.786, allocations: 11.81 MB / 1.761 GB, free: 14.48 MB / 1.326 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/1.786, allocations: 11.59 kB / 1.761 GB, free: 14.48 MB / 1.326 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003127/1.789, allocations: 0.921 MB / 1.762 GB, free: 13.81 MB / 1.326 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/1.8, allocations: 1.818 MB / 1.763 GB, free: 12.94 MB / 1.326 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01932/1.82, allocations: 7.763 MB / 1.771 GB, free: 7.996 MB / 1.326 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005718/1.82, allocations: 0.5263 MB / 1.771 GB, free: 7.758 MB / 1.326 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002657/1.823, allocations: 0.707 MB / 1.772 GB, free: 7.527 MB / 1.326 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02576/1.849, allocations: 9.005 MB / 1.781 GB, free: 14.79 MB / 1.342 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000344/1.849, allocations: 18.66 kB / 1.781 GB, free: 14.77 MB / 1.342 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002049/1.851, allocations: 287.3 kB / 1.781 GB, free: 14.49 MB / 1.342 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003542/1.851, allocations: 289.3 kB / 1.781 GB, free: 14.21 MB / 1.342 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02182/1.873, allocations: 7.688 MB / 1.789 GB, free: 6.523 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.06896/1.942, allocations: 33.8 MB / 1.822 GB, free: 3.703 MB / 1.373 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/1.953, allocations: 5.204 MB / 1.827 GB, free: 14.54 MB / 1.389 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006578/1.96, allocations: 3.071 MB / 1.83 GB, free: 11.46 MB / 1.389 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/1.961, allocations: 186.3 kB / 1.83 GB, free: 11.29 MB / 1.389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00668/1.968, allocations: 3.137 MB / 1.833 GB, free: 8.125 MB / 1.389 GB Notification: Performance of pre-optimization done (n=479): time 7.224e-06/1.968, allocations: 4 kB / 1.833 GB, free: 8.121 MB / 1.389 GB Notification: Performance of matching and sorting (n=483): time 0.03976/2.007, allocations: 15.98 MB / 1.849 GB, free: 8.086 MB / 1.404 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001855/2.007, allocations: 198.3 kB / 1.849 GB, free: 7.863 MB / 1.404 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01282/2.02, allocations: 5.696 MB / 1.855 GB, free: 2.191 MB / 1.404 GB Notification: Performance of collectPreVariables (initialization): time 0.001228/2.021, allocations: 157.7 kB / 1.855 GB, free: 2.031 MB / 1.404 GB Notification: Performance of collectInitialEqns (initialization): time 0.00529/2.027, allocations: 3.421 MB / 1.858 GB, free: 14.61 MB / 1.42 GB Notification: Performance of collectInitialBindings (initialization): time 0.002883/2.03, allocations: 1.634 MB / 1.86 GB, free: 13.01 MB / 1.42 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004093/2.034, allocations: 0.9981 MB / 1.861 GB, free: 12 MB / 1.42 GB Notification: Performance of setup shared object (initialization): time 0.0001474/2.034, allocations: 301.1 kB / 1.861 GB, free: 11.7 MB / 1.42 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005676/2.04, allocations: 2.449 MB / 1.863 GB, free: 9.238 MB / 1.42 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00704/2.047, allocations: 3.505 MB / 1.867 GB, free: 5.379 MB / 1.42 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01225/2.059, allocations: 5.935 MB / 1.873 GB, free: 15.19 MB / 1.436 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-05/2.059, allocations: 8 kB / 1.873 GB, free: 15.18 MB / 1.436 GB Notification: Performance of matching and sorting (n=663) (initialization): time 0.01765/2.077, allocations: 7.037 MB / 1.88 GB, free: 8.156 MB / 1.436 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/2.077, allocations: 79.33 kB / 1.88 GB, free: 8.066 MB / 1.436 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.68e-05/2.077, allocations: 20 kB / 1.88 GB, free: 8.047 MB / 1.436 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/2.078, allocations: 289 kB / 1.88 GB, free: 7.762 MB / 1.436 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004903/2.083, allocations: 1.016 MB / 1.881 GB, free: 6.809 MB / 1.436 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004055/2.087, allocations: 3.594 MB / 1.884 GB, free: 3.074 MB / 1.436 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006343/2.093, allocations: 381.8 kB / 1.885 GB, free: 2.703 MB / 1.436 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001105/2.094, allocations: 196 kB / 1.885 GB, free: 2.512 MB / 1.436 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01197/2.106, allocations: 4.826 MB / 1.89 GB, free: 13.68 MB / 1.451 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006638/2.113, allocations: 3.468 MB / 1.893 GB, free: 9.855 MB / 1.451 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01138/2.124, allocations: 5.897 MB / 1.899 GB, free: 3.699 MB / 1.451 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.647e-05/2.124, allocations: 4 kB / 1.899 GB, free: 3.695 MB / 1.451 GB Notification: Performance of matching and sorting (n=663) (initialization_lambda0): time 0.0159/2.14, allocations: 6.941 MB / 1.906 GB, free: 12.77 MB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 9.53e-05/2.14, allocations: 79.39 kB / 1.906 GB, free: 12.68 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-05/2.14, allocations: 23.94 kB / 1.906 GB, free: 12.65 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007587/2.141, allocations: 245.5 kB / 1.906 GB, free: 12.41 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004533/2.146, allocations: 0.9956 MB / 1.907 GB, free: 11.48 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005318/2.151, allocations: 4.549 MB / 1.911 GB, free: 6.719 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005823/2.157, allocations: 410.7 kB / 1.912 GB, free: 6.32 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000792/2.157, allocations: 192 kB / 1.912 GB, free: 6.133 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.001616/2.159, allocations: 0.5813 MB / 1.912 GB, free: 5.602 MB / 1.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001907/2.161, allocations: 0.625 MB / 1.913 GB, free: 4.973 MB / 1.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/2.174, allocations: 6.28 MB / 1.919 GB, free: 14.68 MB / 1.482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.184e-05/2.174, allocations: 51.98 kB / 1.919 GB, free: 14.63 MB / 1.482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.687e-05/2.174, allocations: 11.19 kB / 1.919 GB, free: 14.62 MB / 1.482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009423/2.184, allocations: 5.255 MB / 1.924 GB, free: 9.336 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.03089/2.215, allocations: 15.31 MB / 1.939 GB, free: 10 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.178e-05/2.215, allocations: 4 kB / 1.939 GB, free: 10 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004302/2.219, allocations: 0.8739 MB / 1.94 GB, free: 9.172 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006335/2.22, allocations: 200.8 kB / 1.94 GB, free: 8.973 MB / 1.498 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006139/2.22, allocations: 119.9 kB / 1.941 GB, free: 8.855 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00352/2.224, allocations: 3.498 MB / 1.944 GB, free: 5.219 MB / 1.498 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/2.224, allocations: 11.19 kB / 1.944 GB, free: 5.211 MB / 1.498 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01722/2.241, allocations: 9.43 MB / 1.953 GB, free: 11.67 MB / 1.514 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004366/2.245, allocations: 1.331 MB / 1.954 GB, free: 10.34 MB / 1.514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001639/2.247, allocations: 128 kB / 1.955 GB, free: 10.21 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004394/2.251, allocations: 279.7 kB / 1.955 GB, free: 9.938 MB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007909/2.252, allocations: 349.4 kB / 1.955 GB, free: 9.602 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004978/2.253, allocations: 167.9 kB / 1.955 GB, free: 9.438 MB / 1.514 GB Notification: Performance of sorting global known variables: time 0.008302/2.261, allocations: 3.934 MB / 1.959 GB, free: 5.531 MB / 1.514 GB Notification: Performance of sort global known variables: time 2.11e-07/2.261, allocations: 0 / 1.959 GB, free: 5.531 MB / 1.514 GB Notification: Performance of remove unused functions: time 0.01264/2.273, allocations: 3.097 MB / 1.962 GB, free: 2.434 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.02125/2.295, allocations: 10.56 MB / 1.973 GB, free: 7.832 MB / 1.529 GB Notification: Performance of simCode: created initialization part: time 0.01891/2.314, allocations: 9.364 MB / 1.982 GB, free: 14.58 MB / 1.545 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-05/2.314, allocations: 9.188 kB / 1.982 GB, free: 14.57 MB / 1.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006419/2.32, allocations: 3.019 MB / 1.985 GB, free: 11.63 MB / 1.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01677/2.337, allocations: 3.17 MB / 1.988 GB, free: 8.527 MB / 1.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1252/2.462, allocations: 54.44 MB / 2.041 GB, free: 1.246 MB / 1.592 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007691/2.47, allocations: 5.134 MB / 2.046 GB, free: 12.08 MB / 1.607 GB Notification: Performance of simCode: alias equations: time 0.009862/2.48, allocations: 2.775 MB / 2.049 GB, free: 9.316 MB / 1.607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00748/2.487, allocations: 3.337 MB / 2.052 GB, free: 5.98 MB / 1.607 GB Notification: Performance of SimCode: time 1.533e-06/2.487, allocations: 3.938 kB / 2.052 GB, free: 5.977 MB / 1.607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3168/2.804, allocations: 173.9 MB / 2.222 GB, free: 9.613 MB / 1.779 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.76/30.56, allocations: 14.91 kB / 2.222 GB, free: 9.602 MB / 1.779 GB " [Timeout remaining time 269] (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: 38.14493571291678]