Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.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.TableData2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TConOutMea|TConOutSim|PEleMea|PEleSim|TEvaOutMea|TEvaOutSim",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TConOutMea|TConOutSim|PEleMea|PEleSim|TEvaOutMea|TEvaOutSim",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 106.9 kB / 16.27 MB, free: 6.109 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.001278/0.001278, allocations: 190.2 kB / 17.2 MB, free: 5.719 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.398/1.398, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.756/2.756, allocations: 482.4 MB / 0.7553 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 71.8 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8541/0.856, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.09743/0.9535, allocations: 81.41 MB / 1.162 GB, free: 5.852 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03373/0.9873, allocations: 19.51 MB / 1.181 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006026/0.9933, allocations: 99.5 kB / 1.182 GB, free: 5.879 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004681/0.9981, allocations: 1.326 MB / 1.183 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01084/1.009, allocations: 2.824 MB / 1.186 GB, free: 2.527 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006958/1.016, allocations: 2.208 MB / 1.188 GB, free: 0.8164 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01007/1.026, allocations: 5.713 MB / 1.193 GB, free: 13.42 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004541/1.031, allocations: 2.65 MB / 1.196 GB, free: 10.96 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006682/1.037, allocations: 2.383 MB / 1.198 GB, free: 8.574 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003453/1.041, allocations: 1.688 MB / 1.2 GB, free: 6.879 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0008132/1.042, allocations: 308 kB / 1.2 GB, free: 6.578 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005086/1.047, allocations: 1.693 MB / 1.202 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001143/1.048, allocations: 0.7787 MB / 1.203 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002739/1.051, allocations: 1.528 MB / 1.204 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.009482/1.06, allocations: 5.071 MB / 1.209 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/1.06, allocations: 4 kB / 1.209 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.795e-06/1.06, allocations: 4 kB / 1.209 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001303/1.06, allocations: 0 / 1.209 GB, free: 13.47 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: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.006909/1.067, allocations: 3.301 MB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/1.067, allocations: 8.031 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/1.069, allocations: 392.1 kB / 1.213 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004944/1.074, allocations: 2.55 MB / 1.215 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001538/1.074, allocations: 135.5 kB / 1.215 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003338/1.074, allocations: 183.9 kB / 1.215 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003478/1.078, allocations: 1.829 MB / 1.217 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/1.078, allocations: 3.938 kB / 1.217 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001508/1.078, allocations: 79.92 kB / 1.217 GB, free: 4.77 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.184e-05/1.078, allocations: 48 kB / 1.217 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002663/1.081, allocations: 1.344 MB / 1.219 GB, free: 3.375 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.01174/1.092, allocations: 7.976 MB / 1.226 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002186/1.095, allocations: 0.9024 MB / 1.227 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006568/1.095, allocations: 343.2 kB / 1.228 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001028/1.096, allocations: 1.156 MB / 1.229 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008797/1.097, allocations: 407 kB / 1.229 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=66): time 3.567e-06/1.097, allocations: 0 / 1.229 GB, free: 7.906 MB / 0.9512 GB Notification: Performance of matching and sorting (n=66): time 0.00277/1.1, allocations: 1.086 MB / 1.23 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/1.1, allocations: 137.1 kB / 1.23 GB, free: 6.648 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.003547/1.104, allocations: 2.079 MB / 1.232 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001998/1.104, allocations: 49.7 kB / 1.232 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001306/1.105, allocations: 1.183 MB / 1.234 GB, free: 3.293 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/1.106, allocations: 244.7 kB / 1.234 GB, free: 3.051 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003454/1.106, allocations: 210.4 kB / 1.234 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001718/1.106, allocations: 349.9 kB / 1.234 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007225/1.107, allocations: 337.8 kB / 1.235 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/1.108, allocations: 0.6645 MB / 1.235 GB, free: 1.363 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/1.109, allocations: 0.9324 MB / 1.236 GB, free: 336 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/1.11, allocations: 4 kB / 1.236 GB, free: 332 kB / 0.9512 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002605/1.112, allocations: 1.21 MB / 1.237 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/1.112, allocations: 11.98 kB / 1.237 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/1.112, allocations: 8 kB / 1.237 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.924e-05/1.112, allocations: 12 kB / 1.238 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007444/1.113, allocations: 207.7 kB / 1.238 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-05/1.113, allocations: 15.98 kB / 1.238 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/1.114, allocations: 151 kB / 1.238 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-05/1.114, allocations: 47.98 kB / 1.238 GB, free: 14.66 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (118): * Single equations (assignments): 118 * 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.001098/1.116, allocations: 0.5677 MB / 1.238 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004254/1.116, allocations: 225.3 kB / 1.239 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/1.118, allocations: 1.025 MB / 1.24 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/1.118, allocations: 11.98 kB / 1.24 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.118, allocations: 4 kB / 1.24 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001454/1.12, allocations: 0.8124 MB / 1.24 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004853/1.125, allocations: 2.877 MB / 1.243 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/1.125, allocations: 3.938 kB / 1.243 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005722/1.125, allocations: 136 kB / 1.243 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/1.125, allocations: 7.938 kB / 1.243 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.455e-05/1.125, allocations: 27.98 kB / 1.243 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/1.125, allocations: 4 kB / 1.243 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.125, allocations: 4 kB / 1.243 GB, free: 8.852 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002679/1.128, allocations: 1.473 MB / 1.245 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006711/1.129, allocations: 398.3 kB / 1.245 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/1.129, allocations: 24 kB / 1.245 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007903/1.13, allocations: 55.94 kB / 1.245 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000142/1.13, allocations: 56.48 kB / 1.245 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.483e-05/1.13, allocations: 31.97 kB / 1.245 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002353/1.132, allocations: 1.42 MB / 1.247 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.3e-07/1.132, allocations: 3.938 kB / 1.247 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002246/1.135, allocations: 0.6582 MB / 1.247 GB, free: 4.664 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 (72): * Single equations (assignments): 64 * 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.003683/1.138, allocations: 1.11 MB / 1.249 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002504/1.141, allocations: 0.9533 MB / 1.249 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/1.141, allocations: 8.188 kB / 1.25 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007939/1.142, allocations: 403 kB / 1.25 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004258/1.146, allocations: 0.9066 MB / 1.251 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007228/1.153, allocations: 4.025 MB / 1.255 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001406/1.155, allocations: 1.58 MB / 1.256 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006027/1.155, allocations: 179.4 kB / 1.256 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of SimCode: time 1.783e-06/1.155, allocations: 0 / 1.256 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of Templates: time 0.06436/1.22, allocations: 37.09 MB / 1.293 GB, free: 6.953 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_ModularReversible_Validation_TableData2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches