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.002059/0.002059, allocations: 104.2 kB / 16.27 MB, free: 6.418 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.002053/0.002053, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.428/1.428, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.721/2.721, allocations: 482.4 MB / 0.7553 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001895, allocations: 59.44 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9217/0.9237, allocations: 162.2 MB / 1.083 GB, free: 1.629 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.ConstantCarnotEffectiveness): time 0.09475/1.018, allocations: 81.13 MB / 1.162 GB, free: 6.023 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03317/1.052, allocations: 18.93 MB / 1.181 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006445/1.058, allocations: 98.25 kB / 1.181 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004553/1.063, allocations: 1.175 MB / 1.182 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01026/1.073, allocations: 2.779 MB / 1.185 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006129/1.079, allocations: 1.889 MB / 1.186 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.009483/1.089, allocations: 5.488 MB / 1.192 GB, free: 14.51 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004709/1.094, allocations: 2.621 MB / 1.194 GB, free: 12.49 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006408/1.1, allocations: 2.313 MB / 1.197 GB, free: 10.17 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003234/1.103, allocations: 1.641 MB / 1.198 GB, free: 8.523 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006512/1.104, allocations: 304 kB / 1.199 GB, free: 8.227 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004761/1.109, allocations: 1.693 MB / 1.2 GB, free: 6.531 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0008179/1.109, allocations: 0.6892 MB / 1.201 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002119/1.112, allocations: 1.442 MB / 1.202 GB, free: 4.391 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.007558/1.119, allocations: 4.756 MB / 1.207 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/1.119, allocations: 4 kB / 1.207 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.793e-06/1.119, allocations: 0 / 1.207 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.019e-05/1.119, allocations: 0 / 1.207 GB, free: 15.62 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.005801/1.125, allocations: 3.031 MB / 1.21 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/1.125, allocations: 16.03 kB / 1.21 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001613/1.127, allocations: 420.3 kB / 1.21 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00382/1.131, allocations: 2.008 MB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/1.131, allocations: 159.4 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002732/1.131, allocations: 183.9 kB / 1.213 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003506/1.135, allocations: 1.9 MB / 1.214 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.847e-05/1.135, allocations: 7.922 kB / 1.214 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/1.135, allocations: 83.98 kB / 1.214 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.296e-05/1.135, allocations: 44 kB / 1.215 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002897/1.138, allocations: 1.431 MB / 1.216 GB, free: 6.152 MB / 0.9356 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.01157/1.149, allocations: 8.106 MB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/1.152, allocations: 1.041 MB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000738/1.153, allocations: 366 kB / 1.225 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/1.154, allocations: 1.164 MB / 1.226 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009535/1.155, allocations: 434.9 kB / 1.227 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=67): time 3.036e-06/1.155, allocations: 1.422 kB / 1.227 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of matching and sorting (n=67): time 0.002883/1.157, allocations: 1.125 MB / 1.228 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/1.158, allocations: 137.1 kB / 1.228 GB, free: 9.035 MB / 0.9512 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.002791/1.16, allocations: 1.786 MB / 1.23 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.00014/1.16, allocations: 45.7 kB / 1.23 GB, free: 7.156 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001121/1.162, allocations: 1.092 MB / 1.231 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003008/1.162, allocations: 240.6 kB / 1.231 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003309/1.162, allocations: 218.4 kB / 1.231 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.162, allocations: 341.9 kB / 1.232 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007959/1.163, allocations: 361.8 kB / 1.232 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/1.164, allocations: 0.6985 MB / 1.233 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/1.166, allocations: 0.9934 MB / 1.234 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/1.166, allocations: 8 kB / 1.234 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002717/1.169, allocations: 1.249 MB / 1.235 GB, free: 1.691 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/1.169, allocations: 8 kB / 1.235 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/1.169, allocations: 12.52 kB / 1.235 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.421e-05/1.169, allocations: 16 kB / 1.235 GB, free: 1.656 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008326/1.17, allocations: 227.6 kB / 1.235 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-05/1.17, allocations: 23.92 kB / 1.235 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/1.171, allocations: 154.7 kB / 1.235 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.604e-05/1.171, allocations: 47.98 kB / 1.235 GB, free: 1.211 MB / 0.9512 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.001014/1.173, allocations: 0.4981 MB / 1.236 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004507/1.173, allocations: 193.6 kB / 1.236 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002358/1.175, allocations: 1.035 MB / 1.237 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/1.175, allocations: 15.92 kB / 1.237 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/1.175, allocations: 0 / 1.237 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00162/1.177, allocations: 0.8475 MB / 1.238 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00521/1.182, allocations: 2.869 MB / 1.241 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/1.182, allocations: 0 / 1.241 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000636/1.183, allocations: 135.8 kB / 1.241 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/1.183, allocations: 8.188 kB / 1.241 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-05/1.183, allocations: 27.98 kB / 1.241 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.027e-05/1.183, allocations: 11.88 kB / 1.241 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.183, allocations: 4 kB / 1.241 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00304/1.186, allocations: 1.515 MB / 1.242 GB, free: 9.891 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007069/1.187, allocations: 382.5 kB / 1.243 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002359/1.187, allocations: 24 kB / 1.243 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008089/1.188, allocations: 55.88 kB / 1.243 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/1.188, allocations: 60.47 kB / 1.243 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.436e-05/1.188, allocations: 39.98 kB / 1.243 GB, free: 9.32 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001862/1.19, allocations: 1.206 MB / 1.244 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.91e-07/1.19, allocations: 3.938 kB / 1.244 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001875/1.192, allocations: 0.6427 MB / 1.245 GB, free: 7.445 MB / 0.9669 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.002529/1.194, allocations: 0.8805 MB / 1.246 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002435/1.197, allocations: 1.011 MB / 1.246 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.197, allocations: 1.188 kB / 1.246 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000856/1.198, allocations: 427.4 kB / 1.247 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003917/1.202, allocations: 0.8687 MB / 1.248 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00663/1.208, allocations: 3.676 MB / 1.251 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/1.21, allocations: 1.497 MB / 1.253 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005444/1.21, allocations: 151.4 kB / 1.253 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of SimCode: time 8.42e-07/1.21, allocations: 0 / 1.253 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of Templates: time 0.05534/1.265, allocations: 34.33 MB / 1.286 GB, free: 13.05 MB / 1.014 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=400 -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/jenkins1/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