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.002205/0.002205, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.003266/0.003266, allocations: 165 kB / 22.46 MB, free: 5.359 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.982/1.982, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.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.108/3.108, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 3.938 kB / 1 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.776e-05/2.97e-05, allocations: 6.281 kB / 1 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.09688/0.09691, allocations: 74.38 MB / 1.073 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03413/0.131, allocations: 18.61 MB / 1.091 GB, free: 9.926 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004271/0.1353, allocations: 131 kB / 1.091 GB, free: 9.797 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004477/0.1398, allocations: 1.327 MB / 1.092 GB, free: 8.461 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.009538/0.1493, allocations: 3.164 MB / 1.096 GB, free: 5.281 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006686/0.156, allocations: 2.367 MB / 1.098 GB, free: 2.934 MB / 1.045 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.00948/0.1655, allocations: 5.948 MB / 1.104 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004402/0.1699, allocations: 2.014 MB / 1.106 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008679/0.1786, allocations: 3.388 MB / 1.109 GB, free: 7.512 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003389/0.182, allocations: 1.472 MB / 1.11 GB, free: 6.035 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0009907/0.183, allocations: 324 kB / 1.111 GB, free: 5.719 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004411/0.1874, allocations: 1.501 MB / 1.112 GB, free: 4.215 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001124/0.1885, allocations: 0.8564 MB / 1.113 GB, free: 3.355 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001811/0.1903, allocations: 1.017 MB / 1.114 GB, free: 2.336 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.008295/0.1986, allocations: 5.457 MB / 1.119 GB, free: 12.86 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1986, allocations: 4 kB / 1.119 GB, free: 12.86 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1986, allocations: 0 / 1.119 GB, free: 12.86 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.638e-05/0.1987, allocations: 0 / 1.119 GB, free: 12.86 MB / 1.076 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.006766/0.2055, allocations: 3.396 MB / 1.123 GB, free: 9.387 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.2055, allocations: 8.031 kB / 1.123 GB, free: 9.379 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.2069, allocations: 409.8 kB / 1.123 GB, free: 8.977 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005519/0.2124, allocations: 2.653 MB / 1.126 GB, free: 6.242 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.2125, allocations: 143.6 kB / 1.126 GB, free: 6.102 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003818/0.2129, allocations: 191.9 kB / 1.126 GB, free: 5.914 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004217/0.2171, allocations: 2.145 MB / 1.128 GB, free: 3.645 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.757e-05/0.2172, allocations: 7.938 kB / 1.128 GB, free: 3.637 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001956/0.2174, allocations: 72 kB / 1.128 GB, free: 3.566 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.902e-05/0.2174, allocations: 55.98 kB / 1.128 GB, free: 3.512 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003226/0.2207, allocations: 1.427 MB / 1.13 GB, free: 2.082 MB / 1.076 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.5265/0.7471, allocations: 6.31 MB / 1.136 GB, free: 165.4 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.7492, allocations: 0.8146 MB / 1.136 GB, free: 165.1 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005688/0.7497, allocations: 327.5 kB / 1.137 GB, free: 165 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003542/0.7501, allocations: 111.5 kB / 1.137 GB, free: 165 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008082/0.7509, allocations: 0.5637 MB / 1.137 GB, free: 164.6 MB / 1.076 GB Notification: Performance of pre-optimization done (n=66): time 3.176e-06/0.7509, allocations: 3.938 kB / 1.137 GB, free: 164.6 MB / 1.076 GB Notification: Performance of matching and sorting (n=66): time 0.002337/0.7532, allocations: 1.12 MB / 1.139 GB, free: 164.3 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.7533, allocations: 139.5 kB / 1.139 GB, free: 164.2 MB / 1.076 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.002606/0.7559, allocations: 2.04 MB / 1.141 GB, free: 163.4 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001287/0.756, allocations: 46.27 kB / 1.141 GB, free: 163.3 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009712/0.757, allocations: 1.243 MB / 1.142 GB, free: 162.5 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.7572, allocations: 247.7 kB / 1.142 GB, free: 162.3 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003316/0.7575, allocations: 229.2 kB / 1.142 GB, free: 162.2 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.803e-05/0.7576, allocations: 345.4 kB / 1.143 GB, free: 161.9 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006502/0.7582, allocations: 352.6 kB / 1.143 GB, free: 161.8 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.7593, allocations: 1.18 MB / 1.144 GB, free: 160.6 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.7606, allocations: 0.9884 MB / 1.145 GB, free: 160 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.7606, allocations: 2.875 kB / 1.145 GB, free: 160 MB / 1.076 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002153/0.7628, allocations: 1.259 MB / 1.146 GB, free: 159.5 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.7628, allocations: 6.938 kB / 1.146 GB, free: 159.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.7628, allocations: 11.22 kB / 1.146 GB, free: 159.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.107e-05/0.7628, allocations: 17.22 kB / 1.146 GB, free: 159.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007659/0.7636, allocations: 225.5 kB / 1.147 GB, free: 159.4 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.219e-05/0.7636, allocations: 18.47 kB / 1.147 GB, free: 159.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.7648, allocations: 136.5 kB / 1.147 GB, free: 159.4 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.815e-05/0.7649, allocations: 52.38 kB / 1.147 GB, free: 159.4 MB / 1.076 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.0009543/0.7659, allocations: 0.5852 MB / 1.147 GB, free: 159 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002878/0.7662, allocations: 214.8 kB / 1.148 GB, free: 158.9 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.7682, allocations: 1.121 MB / 1.149 GB, free: 158.5 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.7682, allocations: 15.72 kB / 1.149 GB, free: 158.5 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.7682, allocations: 0 / 1.149 GB, free: 158.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001405/0.7696, allocations: 0.8927 MB / 1.15 GB, free: 158.1 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003923/0.7736, allocations: 2.569 MB / 1.152 GB, free: 157 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-06/0.7736, allocations: 1.594 kB / 1.152 GB, free: 157 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000636/0.7742, allocations: 150.1 kB / 1.152 GB, free: 156.9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/0.7742, allocations: 5.312 kB / 1.152 GB, free: 156.9 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.006e-05/0.7743, allocations: 26.31 kB / 1.152 GB, free: 156.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.7743, allocations: 9 kB / 1.152 GB, free: 156.9 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.7743, allocations: 2.781 kB / 1.152 GB, free: 156.9 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/0.7767, allocations: 1.594 MB / 1.154 GB, free: 156.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005892/0.7773, allocations: 333.4 kB / 1.154 GB, free: 156 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002397/0.7776, allocations: 24.56 kB / 1.154 GB, free: 156 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008309/0.7784, allocations: 50.92 kB / 1.154 GB, free: 156 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.7785, allocations: 71.64 kB / 1.154 GB, free: 156 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.318e-05/0.7786, allocations: 35.09 kB / 1.154 GB, free: 155.9 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001682/0.7803, allocations: 1.369 MB / 1.156 GB, free: 155.4 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.7803, allocations: 0 / 1.156 GB, free: 155.4 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001781/0.7821, allocations: 0.713 MB / 1.156 GB, free: 155.3 MB / 1.076 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.003694/0.7858, allocations: 1.232 MB / 1.158 GB, free: 155.1 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001681/0.7874, allocations: 0.8573 MB / 1.158 GB, free: 154.8 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.7874, allocations: 0 / 1.158 GB, free: 154.8 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007179/0.7882, allocations: 416.7 kB / 1.159 GB, free: 154.7 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003243/0.7914, allocations: 0.7557 MB / 1.16 GB, free: 154.5 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006417/0.7978, allocations: 4.001 MB / 1.163 GB, free: 152.4 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/0.799, allocations: 1.069 MB / 1.165 GB, free: 152.1 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001258/0.8002, allocations: 397.1 kB / 1.165 GB, free: 152.1 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/0.8006, allocations: 172.3 kB / 1.165 GB, free: 152 MB / 1.076 GB Notification: Performance of SimCode: time 8.52e-07/0.8006, allocations: 0 / 1.165 GB, free: 152 MB / 1.076 GB Notification: Performance of Templates: time 0.06682/0.8675, allocations: 35.83 MB / 1.2 GB, free: 144.1 MB / 1.076 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/jenkins/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: 12.23684485629201]