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.002061/0.002061, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002605/0.002605, allocations: 214.3 kB / 22.25 MB, free: 4.852 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.809 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.528/3.528, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 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.002363/0.002363, allocations: 65.08 kB / 1.186 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4942/0.4965, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.09646/0.593, allocations: 74.96 MB / 1.437 GB, free: 2.367 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03368/0.6267, allocations: 18.61 MB / 1.455 GB, free: 15.71 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005313/0.632, allocations: 134.9 kB / 1.455 GB, free: 15.58 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.004665/0.6367, allocations: 1.316 MB / 1.457 GB, free: 14.26 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01017/0.6468, allocations: 3.091 MB / 1.46 GB, free: 11.15 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.007193/0.654, allocations: 2.315 MB / 1.462 GB, free: 8.859 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.01246/0.6665, allocations: 5.934 MB / 1.468 GB, free: 2.91 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007218/0.6737, allocations: 2.11 MB / 1.47 GB, free: 0.7422 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009772/0.6835, allocations: 2.559 MB / 1.472 GB, free: 14.18 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004831/0.6883, allocations: 1.683 MB / 1.474 GB, free: 12.49 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.001583/0.6899, allocations: 324 kB / 1.474 GB, free: 12.17 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005918/0.6958, allocations: 1.49 MB / 1.476 GB, free: 10.68 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001925/0.6977, allocations: 0.833 MB / 1.477 GB, free: 9.844 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.003791/0.7015, allocations: 1.221 MB / 1.478 GB, free: 8.617 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.713, allocations: 5.415 MB / 1.483 GB, free: 3.184 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.713, allocations: 0 / 1.483 GB, free: 3.184 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.215e-06/0.713, allocations: 4 kB / 1.483 GB, free: 3.18 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0002045/0.7132, allocations: 0 / 1.483 GB, free: 3.18 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.009987/0.7232, allocations: 3.417 MB / 1.486 GB, free: 15.68 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.7233, allocations: 12.02 kB / 1.486 GB, free: 15.67 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/0.7251, allocations: 413.8 kB / 1.487 GB, free: 15.27 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006635/0.7317, allocations: 2.659 MB / 1.489 GB, free: 12.53 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.7319, allocations: 147.6 kB / 1.489 GB, free: 12.38 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005186/0.7324, allocations: 184 kB / 1.49 GB, free: 12.2 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004993/0.7374, allocations: 2.152 MB / 1.492 GB, free: 9.926 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.273e-05/0.7374, allocations: 4 kB / 1.492 GB, free: 9.922 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002246/0.7377, allocations: 79.94 kB / 1.492 GB, free: 9.844 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.249e-05/0.7377, allocations: 44 kB / 1.492 GB, free: 9.801 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003419/0.7411, allocations: 1.435 MB / 1.493 GB, free: 8.363 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.0127/0.7538, allocations: 6.32 MB / 1.499 GB, free: 1.855 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002299/0.7561, allocations: 0.8208 MB / 1.5 GB, free: 1.031 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006916/0.7568, allocations: 331.6 kB / 1.501 GB, free: 0.7031 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000428/0.7573, allocations: 104.6 kB / 1.501 GB, free: 0.6016 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001101/0.7584, allocations: 0.5649 MB / 1.501 GB, free: 15.98 MB / 1.201 GB Notification: Performance of pre-optimization done (n=66): time 3.236e-06/0.7584, allocations: 0 / 1.501 GB, free: 15.98 MB / 1.201 GB Notification: Performance of matching and sorting (n=66): time 0.003062/0.7614, allocations: 1.129 MB / 1.502 GB, free: 14.85 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.7615, allocations: 137.2 kB / 1.502 GB, free: 14.69 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.005217/0.7668, allocations: 2.038 MB / 1.504 GB, free: 12.62 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002627/0.767, allocations: 49.7 kB / 1.505 GB, free: 12.56 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001847/0.7689, allocations: 1.235 MB / 1.506 GB, free: 11.31 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004314/0.7693, allocations: 257.9 kB / 1.506 GB, free: 11.06 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005409/0.7698, allocations: 222.5 kB / 1.506 GB, free: 10.83 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002261/0.7701, allocations: 345.9 kB / 1.507 GB, free: 10.49 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008775/0.7709, allocations: 361.7 kB / 1.507 GB, free: 10.14 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001703/0.7726, allocations: 1.178 MB / 1.508 GB, free: 8.703 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.7746, allocations: 0.9907 MB / 1.509 GB, free: 7.594 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.7746, allocations: 0 / 1.509 GB, free: 7.594 MB / 1.201 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.0032/0.7778, allocations: 1.269 MB / 1.51 GB, free: 6.316 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.7778, allocations: 12 kB / 1.51 GB, free: 6.305 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.7778, allocations: 8 kB / 1.51 GB, free: 6.297 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.907e-05/0.7779, allocations: 15.98 kB / 1.51 GB, free: 6.281 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008274/0.7787, allocations: 219.6 kB / 1.51 GB, free: 6.066 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.442e-05/0.7787, allocations: 19.94 kB / 1.51 GB, free: 6.047 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.7803, allocations: 139.4 kB / 1.511 GB, free: 5.91 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.7804, allocations: 48 kB / 1.511 GB, free: 5.863 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.001426/0.7819, allocations: 0.5796 MB / 1.511 GB, free: 5.273 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007328/0.7826, allocations: 218.5 kB / 1.511 GB, free: 5.059 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002805/0.7854, allocations: 1.123 MB / 1.513 GB, free: 3.934 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.31e-05/0.7854, allocations: 11.98 kB / 1.513 GB, free: 3.922 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.7854, allocations: 0 / 1.513 GB, free: 3.922 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001763/0.7872, allocations: 0.9003 MB / 1.513 GB, free: 2.992 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006372/0.7936, allocations: 2.567 MB / 1.516 GB, free: 372 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.7936, allocations: 0 / 1.516 GB, free: 372 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006727/0.7943, allocations: 152 kB / 1.516 GB, free: 220 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.48e-05/0.7943, allocations: 4 kB / 1.516 GB, free: 216 kB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.259e-05/0.7943, allocations: 27.98 kB / 1.516 GB, free: 188 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-05/0.7944, allocations: 7.938 kB / 1.516 GB, free: 180 kB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.7944, allocations: 3.938 kB / 1.516 GB, free: 176 kB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003383/0.7977, allocations: 1.602 MB / 1.518 GB, free: 14.54 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.7988, allocations: 326.4 kB / 1.518 GB, free: 14.22 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004592/0.7992, allocations: 27.98 kB / 1.518 GB, free: 14.19 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.8003, allocations: 51.89 kB / 1.518 GB, free: 14.14 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/0.8004, allocations: 72.47 kB / 1.518 GB, free: 14.07 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.587e-05/0.8005, allocations: 39.97 kB / 1.518 GB, free: 14.03 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002865/0.8034, allocations: 1.371 MB / 1.52 GB, free: 12.64 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.8034, allocations: 0 / 1.52 GB, free: 12.64 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002521/0.8059, allocations: 0.7087 MB / 1.52 GB, free: 11.93 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.004418/0.8103, allocations: 1.21 MB / 1.521 GB, free: 11.1 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002257/0.8126, allocations: 0.8532 MB / 1.522 GB, free: 10.24 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.8126, allocations: 4.625 kB / 1.522 GB, free: 10.24 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009398/0.8135, allocations: 415.4 kB / 1.523 GB, free: 9.828 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004361/0.8179, allocations: 0.7849 MB / 1.523 GB, free: 9.066 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008953/0.8268, allocations: 4.116 MB / 1.527 GB, free: 4.891 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001383/0.8282, allocations: 1.063 MB / 1.528 GB, free: 3.797 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001667/0.8299, allocations: 381.3 kB / 1.529 GB, free: 3.43 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004512/0.8303, allocations: 175.3 kB / 1.529 GB, free: 3.258 MB / 1.217 GB Notification: Performance of SimCode: time 1.152e-06/0.8303, allocations: 0 / 1.529 GB, free: 3.258 MB / 1.217 GB Notification: Performance of Templates: time 0.08118/0.9115, allocations: 39.56 MB / 1.568 GB, free: 12.33 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/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.57213238812983]