Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TConOutMea|TConOutSim|PEleMea|PEleSim|TEvaOutMea|TEvaOutSim",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TConOutMea|TConOutSim|PEleMea|PEleSim|TEvaOutMea|TEvaOutSim",fileNamePrefix="Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 190.9 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.815/2.815, allocations: 469.8 MB / 0.742 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 63.91 kB / 0.908 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.343, allocations: 159.2 MB / 1.063 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.0875/0.4306, allocations: 80.24 MB / 1.142 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0305/0.4611, allocations: 18.62 MB / 1.16 GB, free: 11.47 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005448/0.4666, allocations: 95.5 kB / 1.16 GB, free: 11.38 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004195/0.4708, allocations: 1.026 MB / 1.161 GB, free: 10.34 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009124/0.48, allocations: 2.584 MB / 1.164 GB, free: 7.75 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.005565/0.4856, allocations: 1.733 MB / 1.165 GB, free: 6.031 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008431/0.4941, allocations: 5.517 MB / 1.171 GB, free: 0.4961 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004296/0.4984, allocations: 2.601 MB / 1.173 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005783/0.5042, allocations: 2.154 MB / 1.175 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003181/0.5074, allocations: 1.707 MB / 1.177 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006021/0.508, allocations: 300 kB / 1.177 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004107/0.5121, allocations: 1.716 MB / 1.179 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007912/0.5129, allocations: 0.6969 MB / 1.18 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002076/0.515, allocations: 1.446 MB / 1.181 GB, free: 5.812 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.007174/0.5222, allocations: 4.76 MB / 1.186 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.5222, allocations: 0 / 1.186 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.023e-06/0.5223, allocations: 0 / 1.186 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.363e-05/0.5223, allocations: 0 / 1.186 GB, free: 1.039 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 453 * Number of variables: 453 Notification: Performance of Generate backend data structure: time 0.005731/0.5281, allocations: 3.031 MB / 1.189 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.5281, allocations: 11.98 kB / 1.189 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001597/0.5297, allocations: 424.3 kB / 1.189 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003882/0.5336, allocations: 2.055 MB / 1.191 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.5338, allocations: 151.4 kB / 1.191 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002722/0.5341, allocations: 180 kB / 1.191 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00352/0.5376, allocations: 1.901 MB / 1.193 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.959e-05/0.5377, allocations: 3.938 kB / 1.193 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/0.5378, allocations: 76 kB / 1.193 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-05/0.5379, allocations: 44 kB / 1.193 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002784/0.5407, allocations: 1.438 MB / 1.195 GB, free: 7.539 MB / 0.9512 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.01137/0.5521, allocations: 8.059 MB / 1.203 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002286/0.5544, allocations: 1.046 MB / 1.204 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007161/0.5551, allocations: 370.3 kB / 1.204 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009785/0.5561, allocations: 1.152 MB / 1.205 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009801/0.5571, allocations: 434.9 kB / 1.206 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=67): time 3.166e-06/0.5571, allocations: 4 kB / 1.206 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67): time 0.002902/0.56, allocations: 1.121 MB / 1.207 GB, free: 10.63 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.5601, allocations: 141.1 kB / 1.207 GB, free: 10.46 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Fluid/HeatPumps/ModularReversible/Modular.mo:62:3-64:76:writable] Warning: Parameter heaPum.TEvaCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Fluid/HeatPumps/ModularReversible/Modular.mo:59:3-61:76:writable] Warning: Parameter heaPum.TConCoo_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=288.15) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002715/0.5629, allocations: 1.767 MB / 1.209 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.563, allocations: 45.7 kB / 1.209 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.00111/0.5641, allocations: 1.088 MB / 1.21 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003115/0.5644, allocations: 250 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/0.5648, allocations: 210.5 kB / 1.21 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.5649, allocations: 345.9 kB / 1.21 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007599/0.5657, allocations: 365.8 kB / 1.211 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.5668, allocations: 0.6907 MB / 1.211 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001714/0.5686, allocations: 1.001 MB / 1.212 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.5686, allocations: 7.938 kB / 1.212 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002625/0.5712, allocations: 1.249 MB / 1.214 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.574e-05/0.5712, allocations: 8 kB / 1.214 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.5713, allocations: 8 kB / 1.214 GB, free: 3.113 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.5713, allocations: 12.53 kB / 1.214 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007975/0.5721, allocations: 231.6 kB / 1.214 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.247e-05/0.5721, allocations: 15.94 kB / 1.214 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.5736, allocations: 212.5 kB / 1.214 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.054e-05/0.5737, allocations: 47.98 kB / 1.214 GB, free: 2.605 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.tabMea.nextTimeEvent,$whenCondition1,heaPum.conHea.y,tabMea.nextTimeEventScaled,$PRE.tabMea.nextTimeEventScaled,tabMea.nextTimeEvent,heaPum.eff.hys.y,$PRE.heaPum.eff.hys.y,heaPum.hys.y,$PRE.heaPum.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * 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.001034/0.5748, allocations: 0.4981 MB / 1.215 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003528/0.5751, allocations: 193.6 kB / 1.215 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002213/0.5773, allocations: 1.04 MB / 1.216 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/0.5774, allocations: 15.98 kB / 1.216 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.5774, allocations: 0 / 1.216 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00161/0.579, allocations: 0.8475 MB / 1.217 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005047/0.5841, allocations: 2.842 MB / 1.219 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.5841, allocations: 4 kB / 1.219 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006519/0.5847, allocations: 140 kB / 1.22 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.5848, allocations: 4 kB / 1.22 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-05/0.5848, allocations: 27.98 kB / 1.22 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.439e-05/0.5849, allocations: 15.86 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5849, allocations: 3.984 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003016/0.5879, allocations: 1.522 MB / 1.221 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008194/0.5887, allocations: 374.6 kB / 1.221 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002503/0.589, allocations: 24 kB / 1.222 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009669/0.59, allocations: 103.7 kB / 1.222 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.5901, allocations: 60.47 kB / 1.222 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.651e-05/0.5902, allocations: 31.98 kB / 1.222 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002057/0.5923, allocations: 1.19 MB / 1.223 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5923, allocations: 3.938 kB / 1.223 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002553/0.5948, allocations: 0.631 MB / 1.223 GB, free: 8.852 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum.refCycIneCon.criDam.x[1],heaPum.refCycIneCon.criDam.x[2],heaPum.refCycIneEva.criDam.x[1],heaPum.refCycIneEva.criDam.x[2]) * Number of discrete variables: 5 ($whenCondition1,heaPum.hys.y,heaPum.eff.hys.y,tabMea.nextTimeEvent,tabMea.nextTimeEventScaled) * Number of discrete states: 4 (tabMea.nextTimeEvent,tabMea.nextTimeEventScaled,heaPum.hys.y,heaPum.eff.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.002624/0.5975, allocations: 0.8787 MB / 1.224 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002565/0.6001, allocations: 1.007 MB / 1.225 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 8.086e-06/0.6001, allocations: 5.094 kB / 1.225 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000864/0.6009, allocations: 423.4 kB / 1.226 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004271/0.6052, allocations: 0.8619 MB / 1.227 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007102/0.6123, allocations: 4.448 MB / 1.231 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001307/0.6137, allocations: 1.493 MB / 1.232 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001655/0.6153, allocations: 365.8 kB / 1.233 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003724/0.6157, allocations: 155.3 kB / 1.233 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/0.6157, allocations: 0 / 1.233 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of Templates: time 0.628/1.244, allocations: 34.46 MB / 1.267 GB, free: 173 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.makefile (rm -f Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_ModularReversible_Validation_ConstantCarnotEffectiveness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches