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.001515/0.001515, allocations: 106.9 kB / 15.99 MB, free: 6.359 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.001663/0.001663, allocations: 192.8 kB / 16.91 MB, free: 6.195 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.385/1.385, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.693/2.693, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001948, allocations: 62.69 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3715, allocations: 159.1 MB / 1.064 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.6734/1.045, allocations: 80.25 MB / 1.142 GB, free: 3.125 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.03406/1.079, allocations: 18.61 MB / 1.161 GB, free: 5.699 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007044/1.086, allocations: 91.72 kB / 1.161 GB, free: 5.668 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.004672/1.091, allocations: 1.029 MB / 1.162 GB, free: 5.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01137/1.102, allocations: 2.579 MB / 1.164 GB, free: 3.551 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006353/1.109, allocations: 1.739 MB / 1.166 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01053/1.119, allocations: 5.523 MB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004882/1.124, allocations: 2.593 MB / 1.174 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007027/1.131, allocations: 2.155 MB / 1.176 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004007/1.135, allocations: 1.707 MB / 1.178 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0009448/1.136, allocations: 300.2 kB / 1.178 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005893/1.142, allocations: 1.716 MB / 1.18 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001398/1.144, allocations: 0.6906 MB / 1.18 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003716/1.147, allocations: 1.444 MB / 1.182 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.007474/1.155, allocations: 3.859 MB / 1.185 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.155, allocations: 0 / 1.185 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.115e-06/1.155, allocations: 5.312 kB / 1.185 GB, free: 6.852 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001338/1.155, allocations: 0 / 1.185 GB, free: 6.852 MB / 0.9044 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.007448/1.162, allocations: 3.037 MB / 1.188 GB, free: 4.551 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/1.162, allocations: 13.58 kB / 1.188 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001916/1.164, allocations: 416.4 kB / 1.189 GB, free: 4.352 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004585/1.169, allocations: 2.06 MB / 1.191 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/1.169, allocations: 149.9 kB / 1.191 GB, free: 2.68 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003232/1.17, allocations: 194.5 kB / 1.191 GB, free: 2.609 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004071/1.174, allocations: 1.901 MB / 1.193 GB, free: 1.438 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.866e-05/1.174, allocations: 5.562 kB / 1.193 GB, free: 1.434 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001668/1.174, allocations: 73.22 kB / 1.193 GB, free: 1.379 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.997e-05/1.174, allocations: 48.42 kB / 1.193 GB, free: 1.375 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00314/1.177, allocations: 1.44 MB / 1.195 GB, free: 0.6562 MB / 0.9044 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.01346/1.191, allocations: 8.056 MB / 1.202 GB, free: 9.836 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/1.193, allocations: 1.049 MB / 1.203 GB, free: 9.203 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007006/1.194, allocations: 366.9 kB / 1.204 GB, free: 9.023 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/1.195, allocations: 1.152 MB / 1.205 GB, free: 7.672 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009746/1.196, allocations: 435.7 kB / 1.205 GB, free: 7.406 MB / 0.92 GB Notification: Performance of pre-optimization done (n=67): time 2.996e-06/1.196, allocations: 0 / 1.205 GB, free: 7.406 MB / 0.92 GB Notification: Performance of matching and sorting (n=67): time 0.002954/1.199, allocations: 1.131 MB / 1.206 GB, free: 6.758 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.617e-05/1.199, allocations: 133.1 kB / 1.207 GB, free: 6.598 MB / 0.92 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.00302/1.202, allocations: 1.767 MB / 1.208 GB, free: 4.789 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001808/1.202, allocations: 49.7 kB / 1.208 GB, free: 4.734 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001189/1.203, allocations: 1.084 MB / 1.209 GB, free: 3.637 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003346/1.204, allocations: 248.6 kB / 1.21 GB, free: 3.391 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003629/1.204, allocations: 210.5 kB / 1.21 GB, free: 3.18 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001993/1.204, allocations: 345.9 kB / 1.21 GB, free: 2.836 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008101/1.205, allocations: 365.8 kB / 1.211 GB, free: 2.477 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/1.206, allocations: 0.6946 MB / 1.211 GB, free: 1.645 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/1.208, allocations: 0.9973 MB / 1.212 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/1.208, allocations: 4 kB / 1.212 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003228/1.211, allocations: 1.245 MB / 1.213 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/1.211, allocations: 9.953 kB / 1.213 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.908e-05/1.211, allocations: 16 kB / 1.213 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.033e-05/1.211, allocations: 12 kB / 1.213 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009894/1.212, allocations: 223.6 kB / 1.214 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.736e-05/1.212, allocations: 19.92 kB / 1.214 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002603/1.215, allocations: 210.6 kB / 1.214 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/1.215, allocations: 51.97 kB / 1.214 GB, free: 14.74 MB / 0.9356 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.001743/1.217, allocations: 0.4986 MB / 1.214 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008536/1.218, allocations: 193.7 kB / 1.215 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002759/1.221, allocations: 1.039 MB / 1.216 GB, free: 13 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/1.221, allocations: 11.98 kB / 1.216 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.221, allocations: 0 / 1.216 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001721/1.222, allocations: 0.8553 MB / 1.216 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006433/1.229, allocations: 2.838 MB / 1.219 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.229, allocations: 4.188 kB / 1.219 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006806/1.23, allocations: 135.8 kB / 1.219 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/1.23, allocations: 4 kB / 1.219 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.25e-05/1.23, allocations: 31.97 kB / 1.219 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.35e-05/1.23, allocations: 11.88 kB / 1.219 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/1.23, allocations: 0 / 1.219 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003254/1.233, allocations: 1.522 MB / 1.221 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.234, allocations: 374.5 kB / 1.221 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002979/1.234, allocations: 27.98 kB / 1.221 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009957/1.235, allocations: 99.78 kB / 1.221 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/1.235, allocations: 60.47 kB / 1.221 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.515e-05/1.236, allocations: 35.97 kB / 1.221 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002003/1.238, allocations: 1.19 MB / 1.223 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/1.238, allocations: 0 / 1.223 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002238/1.24, allocations: 0.6309 MB / 1.223 GB, free: 4.992 MB / 0.9356 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.002622/1.242, allocations: 0.8802 MB / 1.224 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002651/1.245, allocations: 1 MB / 1.225 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.245, allocations: 448 / 1.225 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009162/1.246, allocations: 423 kB / 1.226 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004503/1.251, allocations: 0.8615 MB / 1.226 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007967/1.259, allocations: 4.534 MB / 1.231 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/1.26, allocations: 1.486 MB / 1.232 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006671/1.261, allocations: 155.4 kB / 1.232 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of SimCode: time 6.52e-07/1.261, allocations: 0 / 1.232 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of Templates: time 0.05819/1.319, allocations: 34.04 MB / 1.266 GB, free: 10.04 MB / 0.9825 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/jenkins1/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