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.001355/0.001355, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00157/0.00157, allocations: 217.5 kB / 23.01 MB, free: 4.609 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.34/1.34, allocations: 230.6 MB / 256.8 MB, free: 8.043 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 2.906/2.906, allocations: 0.505 GB / 0.8108 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 177] 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.001889/0.001889, allocations: 69.42 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3092, allocations: 180.2 MB / 1.354 GB, free: 7.926 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.0859/0.3951, allocations: 83.36 MB / 1.436 GB, free: 4.281 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0286/0.4237, allocations: 19.93 MB / 1.455 GB, free: 300 kB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004049/0.4278, allocations: 138.9 kB / 1.455 GB, free: 160 kB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.003684/0.4315, allocations: 1.382 MB / 1.456 GB, free: 14.77 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.007973/0.4394, allocations: 3.103 MB / 1.46 GB, free: 11.65 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.005441/0.4449, allocations: 2.349 MB / 1.462 GB, free: 9.32 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.008356/0.4532, allocations: 5.96 MB / 1.468 GB, free: 3.348 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003341/0.4566, allocations: 2.153 MB / 1.47 GB, free: 1.137 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005468/0.4621, allocations: 2.537 MB / 1.472 GB, free: 14.6 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003034/0.4651, allocations: 1.825 MB / 1.474 GB, free: 12.77 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0004682/0.4656, allocations: 324 kB / 1.474 GB, free: 12.45 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003926/0.4695, allocations: 1.864 MB / 1.476 GB, free: 10.58 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0008266/0.4703, allocations: 0.8369 MB / 1.477 GB, free: 9.742 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001802/0.4721, allocations: 1.578 MB / 1.478 GB, free: 8.156 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.007582/0.4797, allocations: 5.458 MB / 1.484 GB, free: 2.68 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.4797, allocations: 0 / 1.484 GB, free: 2.68 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4797, allocations: 0 / 1.484 GB, free: 2.68 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.923e-05/0.4798, allocations: 0 / 1.484 GB, free: 2.68 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.005516/0.4853, allocations: 3.433 MB / 1.487 GB, free: 15.17 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.4853, allocations: 8.031 kB / 1.487 GB, free: 15.16 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.4864, allocations: 405.8 kB / 1.488 GB, free: 14.76 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004327/0.4907, allocations: 2.672 MB / 1.49 GB, free: 12.01 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/0.4908, allocations: 143.6 kB / 1.49 GB, free: 11.87 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002393/0.4911, allocations: 184 kB / 1.49 GB, free: 11.69 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003037/0.4941, allocations: 1.882 MB / 1.492 GB, free: 9.742 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/0.4942, allocations: 0 / 1.492 GB, free: 9.742 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.4943, allocations: 76 kB / 1.492 GB, free: 9.668 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.017e-05/0.4943, allocations: 52 kB / 1.492 GB, free: 9.617 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002432/0.4968, allocations: 1.388 MB / 1.494 GB, free: 8.227 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.0101/0.5069, allocations: 8.098 MB / 1.502 GB, free: 15.72 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.5087, allocations: 0.7964 MB / 1.502 GB, free: 14.91 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005663/0.5093, allocations: 330.7 kB / 1.503 GB, free: 14.59 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003659/0.5097, allocations: 108.6 kB / 1.503 GB, free: 14.48 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007849/0.5104, allocations: 416.2 kB / 1.503 GB, free: 14.06 MB / 1.201 GB Notification: Performance of pre-optimization done (n=66): time 3.025e-06/0.5104, allocations: 0 / 1.503 GB, free: 14.06 MB / 1.201 GB Notification: Performance of matching and sorting (n=66): time 0.002281/0.5127, allocations: 1.106 MB / 1.504 GB, free: 12.95 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.401e-05/0.5128, allocations: 137.2 kB / 1.504 GB, free: 12.79 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.002846/0.5157, allocations: 2.178 MB / 1.507 GB, free: 10.59 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.768e-05/0.5157, allocations: 49.7 kB / 1.507 GB, free: 10.53 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001126/0.5169, allocations: 1.24 MB / 1.508 GB, free: 9.277 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/0.5171, allocations: 246 kB / 1.508 GB, free: 9.035 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003066/0.5174, allocations: 226.5 kB / 1.508 GB, free: 8.809 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.5176, allocations: 341.9 kB / 1.509 GB, free: 8.469 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006448/0.5182, allocations: 341.8 kB / 1.509 GB, free: 8.133 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009891/0.5192, allocations: 0.7182 MB / 1.51 GB, free: 7.266 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001479/0.5207, allocations: 0.9712 MB / 1.511 GB, free: 6.184 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.5207, allocations: 3.938 kB / 1.511 GB, free: 6.18 MB / 1.201 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002216/0.5229, allocations: 1.258 MB / 1.512 GB, free: 4.914 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.5229, allocations: 8 kB / 1.512 GB, free: 4.906 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.523, allocations: 8 kB / 1.512 GB, free: 4.898 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/0.523, allocations: 16 kB / 1.512 GB, free: 4.883 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006987/0.5237, allocations: 215.6 kB / 1.512 GB, free: 4.672 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.332e-05/0.5237, allocations: 19.94 kB / 1.512 GB, free: 4.652 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/0.5248, allocations: 173 kB / 1.512 GB, free: 4.484 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-05/0.5249, allocations: 44 kB / 1.512 GB, free: 4.441 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.0009483/0.5258, allocations: 0.5873 MB / 1.513 GB, free: 3.844 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003108/0.5262, allocations: 238.5 kB / 1.513 GB, free: 3.609 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/0.5281, allocations: 1.066 MB / 1.514 GB, free: 2.547 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/0.5281, allocations: 19.97 kB / 1.514 GB, free: 2.527 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.5281, allocations: 0 / 1.514 GB, free: 2.527 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001345/0.5295, allocations: 0.8242 MB / 1.515 GB, free: 1.672 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004397/0.5339, allocations: 2.905 MB / 1.518 GB, free: 14.69 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/0.5339, allocations: 0 / 1.518 GB, free: 14.69 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/0.5344, allocations: 131.8 kB / 1.518 GB, free: 14.56 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.5344, allocations: 4 kB / 1.518 GB, free: 14.55 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.848e-05/0.5345, allocations: 31.92 kB / 1.518 GB, free: 14.52 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.5345, allocations: 4 kB / 1.518 GB, free: 14.52 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5345, allocations: 192 / 1.518 GB, free: 14.52 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/0.5369, allocations: 1.519 MB / 1.519 GB, free: 12.97 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006834/0.5375, allocations: 334.2 kB / 1.52 GB, free: 12.64 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002282/0.5378, allocations: 31.92 kB / 1.52 GB, free: 12.61 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007545/0.5385, allocations: 47.95 kB / 1.52 GB, free: 12.56 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.5387, allocations: 76.41 kB / 1.52 GB, free: 12.48 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.87e-05/0.5387, allocations: 36.09 kB / 1.52 GB, free: 12.45 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002038/0.5408, allocations: 1.473 MB / 1.521 GB, free: 10.96 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5408, allocations: 0 / 1.521 GB, free: 10.96 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001762/0.5425, allocations: 0.6933 MB / 1.522 GB, free: 10.27 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 (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.00343/0.546, allocations: 1.144 MB / 1.523 GB, free: 9.449 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001703/0.5477, allocations: 0.8125 MB / 1.524 GB, free: 8.641 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.5477, allocations: 4 kB / 1.524 GB, free: 8.637 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006833/0.5483, allocations: 385.1 kB / 1.524 GB, free: 8.262 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003337/0.5517, allocations: 0.9159 MB / 1.525 GB, free: 7.367 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006418/0.5581, allocations: 4.144 MB / 1.529 GB, free: 3.152 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/0.5594, allocations: 1.604 MB / 1.531 GB, free: 1.516 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004693/0.5598, allocations: 195.3 kB / 1.531 GB, free: 1.328 MB / 1.217 GB Notification: Performance of SimCode: time 7.31e-07/0.5598, allocations: 0 / 1.531 GB, free: 1.328 MB / 1.217 GB Notification: Performance of Templates: time 0.05513/0.615, allocations: 38.64 MB / 1.569 GB, free: 10.92 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: 15.77382386699901]