Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001087/0.001087, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001202/0.001202, allocations: 198.1 kB / 16.14 MB, free: 6.723 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 474.4 MB / 0.7465 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 71.2 kB / 0.9135 GB, free: 32.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3598, allocations: 160.3 MB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.07403/0.4339, allocations: 80.42 MB / 1.149 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02757/0.4615, allocations: 18.79 MB / 1.167 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005217/0.4668, allocations: 95.5 kB / 1.167 GB, free: 4.988 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003813/0.4706, allocations: 0.9869 MB / 1.168 GB, free: 3.996 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008325/0.479, allocations: 2.554 MB / 1.17 GB, free: 1.434 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00513/0.4841, allocations: 1.707 MB / 1.172 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.008725/0.4929, allocations: 6.854 MB / 1.179 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003658/0.4966, allocations: 2.239 MB / 1.181 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004177/0.5008, allocations: 1.777 MB / 1.183 GB, free: 4.793 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00274/0.5035, allocations: 1.621 MB / 1.184 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003833/0.5039, allocations: 136 kB / 1.184 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003816/0.5078, allocations: 1.462 MB / 1.186 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006363/0.5084, allocations: 0.529 MB / 1.186 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001793/0.5102, allocations: 1.271 MB / 1.188 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.006299/0.5165, allocations: 4.646 MB / 1.192 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.914e-06/0.5166, allocations: 7.922 kB / 1.192 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5166, allocations: 0 / 1.192 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.074e-05/0.5167, allocations: 4 kB / 1.192 GB, free: 11.09 MB / 0.9512 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.006091/0.5228, allocations: 3.031 MB / 1.195 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.5228, allocations: 8.031 kB / 1.195 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/0.5244, allocations: 420.3 kB / 1.196 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003512/0.528, allocations: 2.057 MB / 1.198 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.5281, allocations: 143.5 kB / 1.198 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002599/0.5284, allocations: 188 kB / 1.198 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003439/0.5318, allocations: 1.905 MB / 1.2 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.878e-05/0.5319, allocations: 0 / 1.2 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/0.5321, allocations: 72 kB / 1.2 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.342e-05/0.5321, allocations: 48 kB / 1.2 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002729/0.5349, allocations: 1.446 MB / 1.201 GB, free: 1.586 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.01126/0.5461, allocations: 8.044 MB / 1.209 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/0.5485, allocations: 1.04 MB / 1.21 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007234/0.5492, allocations: 376.1 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009267/0.5501, allocations: 1.152 MB / 1.212 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009391/0.5511, allocations: 438.8 kB / 1.212 GB, free: 5.824 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=67): time 3.357e-06/0.5511, allocations: 4 kB / 1.212 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=67): time 0.002915/0.554, allocations: 1.117 MB / 1.213 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.938e-05/0.5541, allocations: 141.1 kB / 1.213 GB, free: 4.527 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 12.0.0-master/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.002817/0.557, allocations: 1.759 MB / 1.215 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001551/0.5571, allocations: 53.69 kB / 1.215 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.5581, allocations: 1.088 MB / 1.216 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002776/0.5584, allocations: 248.6 kB / 1.216 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003231/0.5588, allocations: 214.4 kB / 1.217 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5589, allocations: 349.9 kB / 1.217 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000753/0.5597, allocations: 361.8 kB / 1.217 GB, free: 412 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.5608, allocations: 0.6907 MB / 1.218 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/0.5625, allocations: 1.005 MB / 1.219 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.5625, allocations: 4 kB / 1.219 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002682/0.5652, allocations: 1.258 MB / 1.22 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.5652, allocations: 8 kB / 1.22 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.5653, allocations: 8 kB / 1.22 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.5653, allocations: 12 kB / 1.22 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007955/0.5661, allocations: 223.6 kB / 1.22 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.279e-05/0.5661, allocations: 15.94 kB / 1.22 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.5677, allocations: 208.4 kB / 1.221 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.19e-05/0.5678, allocations: 55.98 kB / 1.221 GB, free: 12.67 MB / 0.9825 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.001145/0.569, allocations: 0.4903 MB / 1.221 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004534/0.5694, allocations: 193.6 kB / 1.221 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.5717, allocations: 1.042 MB / 1.222 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.5717, allocations: 8 kB / 1.222 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.5717, allocations: 0 / 1.222 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001535/0.5733, allocations: 0.867 MB / 1.223 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004875/0.5781, allocations: 2.838 MB / 1.226 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.5782, allocations: 4 kB / 1.226 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006494/0.5788, allocations: 139.8 kB / 1.226 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.5788, allocations: 7.938 kB / 1.226 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.597e-05/0.5789, allocations: 27.98 kB / 1.226 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.385e-06/0.5789, allocations: 7.938 kB / 1.226 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5789, allocations: 128 / 1.226 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002876/0.5818, allocations: 1.522 MB / 1.228 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007518/0.5826, allocations: 378.5 kB / 1.228 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002415/0.5828, allocations: 24 kB / 1.228 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009464/0.5838, allocations: 99.73 kB / 1.228 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.5839, allocations: 60.47 kB / 1.228 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.515e-05/0.584, allocations: 31.98 kB / 1.228 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001785/0.5858, allocations: 1.19 MB / 1.229 GB, free: 3.555 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5858, allocations: 4 kB / 1.229 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001803/0.5876, allocations: 0.6348 MB / 1.23 GB, free: 2.914 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.001888/0.5895, allocations: 0.8729 MB / 1.231 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001913/0.5915, allocations: 0.8911 MB / 1.232 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5915, allocations: 3.938 kB / 1.232 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008248/0.5923, allocations: 419.6 kB / 1.232 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003902/0.5962, allocations: 0.829 MB / 1.233 GB, free: 104 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00672/0.603, allocations: 4.453 MB / 1.237 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.6041, allocations: 1.498 MB / 1.239 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001628/0.6058, allocations: 362.5 kB / 1.239 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003798/0.6061, allocations: 151.4 kB / 1.239 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of SimCode: time 1.303e-06/0.6062, allocations: 3.938 kB / 1.239 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of Templates: time 0.6631/1.269, allocations: 33.48 MB / 1.272 GB, free: 166.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_ModularReversible_Validation_ConstantCarnotEffectiveness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches