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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00223/0.00223, allocations: 213.6 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.189/3.189, allocations: 0.5107 GB / 0.8166 GB, free: 17.76 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=29234,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=29234,variableFilter="time|TConOutMea|TConOutSim|PEleMea|PEleSim|TEvaOutMea|TEvaOutSim",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 68.55 kB / 1.187 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3943, allocations: 181.9 MB / 1.365 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.0855/0.4798, allocations: 74.97 MB / 1.438 GB, free: 2.262 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03175/0.5116, allocations: 18.6 MB / 1.456 GB, free: 15.61 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005608/0.5172, allocations: 138.9 kB / 1.456 GB, free: 15.48 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.004465/0.5216, allocations: 1.32 MB / 1.457 GB, free: 14.15 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.5319, allocations: 3.083 MB / 1.46 GB, free: 11.05 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.006739/0.5387, allocations: 2.317 MB / 1.463 GB, free: 8.758 MB / 1.154 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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. Notification: Performance of NFFlatten.flatten: time 0.01005/0.5487, allocations: 5.933 MB / 1.469 GB, free: 2.812 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004046/0.5528, allocations: 2.106 MB / 1.471 GB, free: 0.6484 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006413/0.5592, allocations: 2.559 MB / 1.473 GB, free: 14.09 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00316/0.5623, allocations: 1.693 MB / 1.475 GB, free: 12.39 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0006222/0.563, allocations: 324 kB / 1.475 GB, free: 12.07 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003867/0.5668, allocations: 1.494 MB / 1.476 GB, free: 10.57 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0009939/0.5678, allocations: 0.8253 MB / 1.477 GB, free: 9.746 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001834/0.5696, allocations: 1.228 MB / 1.478 GB, free: 8.512 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.008184/0.5778, allocations: 5.407 MB / 1.484 GB, free: 3.086 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.5778, allocations: 0 / 1.484 GB, free: 3.086 MB / 1.17 GB Notification: Performance of FrontEnd: time 4.969e-06/0.5778, allocations: 3.984 kB / 1.484 GB, free: 3.082 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.196e-05/0.5779, allocations: 0 / 1.484 GB, free: 3.082 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.006432/0.5843, allocations: 3.425 MB / 1.487 GB, free: 15.58 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.5844, allocations: 8.031 kB / 1.487 GB, free: 15.57 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.5855, allocations: 413.8 kB / 1.488 GB, free: 15.16 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004773/0.5903, allocations: 2.653 MB / 1.49 GB, free: 12.43 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.5904, allocations: 143.6 kB / 1.49 GB, free: 12.29 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002937/0.5907, allocations: 192 kB / 1.49 GB, free: 12.1 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0035/0.5942, allocations: 2.152 MB / 1.493 GB, free: 9.824 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/0.5943, allocations: 0 / 1.493 GB, free: 9.824 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/0.5944, allocations: 72 kB / 1.493 GB, free: 9.754 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.343e-05/0.5945, allocations: 51.98 kB / 1.493 GB, free: 9.703 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00275/0.5972, allocations: 1.434 MB / 1.494 GB, free: 8.266 MB / 1.186 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.009705/0.6069, allocations: 6.316 MB / 1.5 GB, free: 1.762 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002069/0.609, allocations: 0.825 MB / 1.501 GB, free: 0.9336 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006173/0.6096, allocations: 340.7 kB / 1.501 GB, free: 0.5977 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003795/0.61, allocations: 104.6 kB / 1.501 GB, free: 0.4961 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009369/0.6109, allocations: 0.5649 MB / 1.502 GB, free: 15.88 MB / 1.201 GB Notification: Performance of pre-optimization done (n=66): time 3.096e-06/0.6109, allocations: 0 / 1.502 GB, free: 15.88 MB / 1.201 GB Notification: Performance of matching and sorting (n=66): time 0.002481/0.6134, allocations: 1.121 MB / 1.503 GB, free: 14.75 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.09e-05/0.6135, allocations: 137.2 kB / 1.503 GB, free: 14.59 MB / 1.201 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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 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.002868/0.6164, allocations: 2.038 MB / 1.505 GB, free: 12.52 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.996e-05/0.6165, allocations: 45.7 kB / 1.505 GB, free: 12.47 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001217/0.6177, allocations: 1.239 MB / 1.506 GB, free: 11.21 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/0.6179, allocations: 257.9 kB / 1.507 GB, free: 10.96 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000334/0.6183, allocations: 230.5 kB / 1.507 GB, free: 10.73 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.6185, allocations: 345.9 kB / 1.507 GB, free: 10.38 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006765/0.6191, allocations: 353.8 kB / 1.508 GB, free: 10.04 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.6205, allocations: 1.182 MB / 1.509 GB, free: 8.602 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.6221, allocations: 0.9829 MB / 1.51 GB, free: 7.5 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.6221, allocations: 4 kB / 1.51 GB, free: 7.496 MB / 1.201 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002485/0.6246, allocations: 1.269 MB / 1.511 GB, free: 6.219 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.6246, allocations: 8 kB / 1.511 GB, free: 6.211 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.6246, allocations: 12 kB / 1.511 GB, free: 6.199 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.394e-05/0.6246, allocations: 16 kB / 1.511 GB, free: 6.184 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007412/0.6254, allocations: 215.6 kB / 1.511 GB, free: 5.973 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.681e-05/0.6254, allocations: 24.33 kB / 1.511 GB, free: 5.949 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.6265, allocations: 136.6 kB / 1.511 GB, free: 5.816 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.211e-05/0.6266, allocations: 47.98 kB / 1.511 GB, free: 5.77 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.tabMea.nextTimeEvent,$whenCondition1,heaPum.conHea.y,tabMea.nextTimeEventScaled,$PRE.tabMea.nextTimeEventScaled,tabMea.nextTimeEvent,heaPum.hys.y,$PRE.heaPum.hys.y,heaPum.eff.hys.y,$PRE.heaPum.eff.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.001055/0.6277, allocations: 0.5795 MB / 1.512 GB, free: 5.18 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003546/0.628, allocations: 226.5 kB / 1.512 GB, free: 4.957 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002186/0.6302, allocations: 1.117 MB / 1.513 GB, free: 3.84 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/0.6302, allocations: 11.98 kB / 1.513 GB, free: 3.828 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.6302, allocations: 0 / 1.513 GB, free: 3.828 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001548/0.6318, allocations: 0.9004 MB / 1.514 GB, free: 2.898 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004641/0.6364, allocations: 2.563 MB / 1.517 GB, free: 280 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.6364, allocations: 4 kB / 1.517 GB, free: 276 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006059/0.637, allocations: 148 kB / 1.517 GB, free: 128 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/0.6371, allocations: 8 kB / 1.517 GB, free: 120 kB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.196e-05/0.6371, allocations: 23.98 kB / 1.517 GB, free: 96 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.6371, allocations: 7.938 kB / 1.517 GB, free: 88 kB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.6371, allocations: 11.88 kB / 1.517 GB, free: 76 kB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002778/0.6399, allocations: 1.603 MB / 1.518 GB, free: 14.44 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007753/0.6407, allocations: 326.3 kB / 1.519 GB, free: 14.12 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003016/0.641, allocations: 28 kB / 1.519 GB, free: 14.09 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008314/0.6418, allocations: 47.89 kB / 1.519 GB, free: 14.05 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.642, allocations: 72.41 kB / 1.519 GB, free: 13.98 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.954e-05/0.642, allocations: 39.97 kB / 1.519 GB, free: 13.94 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.00229/0.6443, allocations: 1.371 MB / 1.52 GB, free: 12.55 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6443, allocations: 8 kB / 1.52 GB, free: 12.54 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002055/0.6464, allocations: 0.7009 MB / 1.521 GB, free: 11.84 MB / 1.217 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.eff.hys.y,heaPum.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 (81): * Single equations (assignments): 73 * 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.00406/0.6504, allocations: 1.223 MB / 1.522 GB, free: 10.99 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001931/0.6524, allocations: 0.8575 MB / 1.523 GB, free: 10.13 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.6524, allocations: 0 / 1.523 GB, free: 10.13 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0008308/0.6532, allocations: 411.4 kB / 1.523 GB, free: 9.727 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003551/0.6568, allocations: 0.7835 MB / 1.524 GB, free: 8.965 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008121/0.6649, allocations: 4.168 MB / 1.528 GB, free: 4.73 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/0.6665, allocations: 1.047 MB / 1.529 GB, free: 3.652 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005671/0.667, allocations: 179.4 kB / 1.529 GB, free: 3.477 MB / 1.217 GB Notification: Performance of SimCode: time 7.81e-07/0.667, allocations: 0 / 1.529 GB, free: 3.477 MB / 1.217 GB Notification: Performance of Templates: time 0.07007/0.7371, allocations: 38.11 MB / 1.567 GB, free: 13.6 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.128643958829343]