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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 188 kB / 22.22 MB, free: 5.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.125/3.125, allocations: 495.7 MB / 0.7831 GB, free: 33.6 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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=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 0.002054/0.002054, allocations: 75.05 kB / 1.137 GB, free: 33.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3339, allocations: 173.6 MB / 1.307 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.09056/0.4245, allocations: 82.75 MB / 1.388 GB, free: 14.84 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03134/0.4558, allocations: 19.7 MB / 1.407 GB, free: 11.08 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00489/0.4607, allocations: 134.9 kB / 1.407 GB, free: 10.95 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004527/0.4652, allocations: 1.375 MB / 1.409 GB, free: 9.566 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.009096/0.4743, allocations: 3.028 MB / 1.411 GB, free: 6.527 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005981/0.4803, allocations: 2.317 MB / 1.414 GB, free: 4.23 MB / 1.107 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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 12.0.1-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.008451/0.4888, allocations: 5.842 MB / 1.419 GB, free: 14.38 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003186/0.4919, allocations: 2.066 MB / 1.421 GB, free: 12.25 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005398/0.4973, allocations: 2.471 MB / 1.424 GB, free: 9.777 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002571/0.4999, allocations: 1.775 MB / 1.426 GB, free: 7.996 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004187/0.5003, allocations: 308 kB / 1.426 GB, free: 7.695 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003674/0.504, allocations: 1.755 MB / 1.428 GB, free: 5.938 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.00083/0.5048, allocations: 0.8019 MB / 1.428 GB, free: 5.133 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001668/0.5065, allocations: 1.524 MB / 1.43 GB, free: 3.602 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.007813/0.5143, allocations: 5.162 MB / 1.435 GB, free: 14.42 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.5143, allocations: 0 / 1.435 GB, free: 14.42 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5143, allocations: 4 kB / 1.435 GB, free: 14.42 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001048/0.5144, allocations: 0 / 1.435 GB, free: 14.42 MB / 1.139 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.006556/0.521, allocations: 3.327 MB / 1.438 GB, free: 11.01 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.521, allocations: 12.02 kB / 1.438 GB, free: 11 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.5223, allocations: 397.9 kB / 1.439 GB, free: 10.61 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005427/0.5277, allocations: 2.574 MB / 1.441 GB, free: 7.953 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.5278, allocations: 143.5 kB / 1.441 GB, free: 7.812 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002921/0.5281, allocations: 187.9 kB / 1.441 GB, free: 7.629 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003466/0.5316, allocations: 1.822 MB / 1.443 GB, free: 5.742 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.668e-05/0.5316, allocations: 3.938 kB / 1.443 GB, free: 5.738 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/0.5318, allocations: 72 kB / 1.443 GB, free: 5.668 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-05/0.5318, allocations: 48 kB / 1.443 GB, free: 5.621 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002672/0.5345, allocations: 1.352 MB / 1.445 GB, free: 4.266 MB / 1.139 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.0107/0.5452, allocations: 7.806 MB / 1.452 GB, free: 12.05 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.5473, allocations: 0.7985 MB / 1.453 GB, free: 11.25 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006339/0.548, allocations: 310.7 kB / 1.453 GB, free: 10.94 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004057/0.5484, allocations: 124.5 kB / 1.453 GB, free: 10.82 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008706/0.5492, allocations: 404.3 kB / 1.454 GB, free: 10.41 MB / 1.154 GB Notification: Performance of pre-optimization done (n=66): time 2.645e-06/0.5492, allocations: 0 / 1.454 GB, free: 10.41 MB / 1.154 GB Notification: Performance of matching and sorting (n=66): time 0.002502/0.5517, allocations: 1.106 MB / 1.455 GB, free: 9.301 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.912e-05/0.5518, allocations: 133.2 kB / 1.455 GB, free: 9.141 MB / 1.154 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.1-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.003094/0.5549, allocations: 2.087 MB / 1.457 GB, free: 7.027 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.555, allocations: 45.7 kB / 1.457 GB, free: 6.977 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001296/0.5563, allocations: 1.209 MB / 1.458 GB, free: 5.758 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/0.5566, allocations: 246 kB / 1.459 GB, free: 5.516 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003776/0.557, allocations: 218.5 kB / 1.459 GB, free: 5.297 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002514/0.5572, allocations: 345.9 kB / 1.459 GB, free: 4.953 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007327/0.558, allocations: 337.8 kB / 1.459 GB, free: 4.625 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.5591, allocations: 0.6685 MB / 1.46 GB, free: 3.82 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.5607, allocations: 0.9328 MB / 1.461 GB, free: 2.785 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.5607, allocations: 0 / 1.461 GB, free: 2.785 MB / 1.154 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002801/0.5635, allocations: 1.224 MB / 1.462 GB, free: 1.551 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.5635, allocations: 12 kB / 1.462 GB, free: 1.539 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.5635, allocations: 4 kB / 1.462 GB, free: 1.535 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.838e-05/0.5636, allocations: 16 kB / 1.462 GB, free: 1.52 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007543/0.5643, allocations: 211.6 kB / 1.462 GB, free: 1.312 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.182e-05/0.5644, allocations: 12 kB / 1.462 GB, free: 1.301 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.5658, allocations: 161.9 kB / 1.463 GB, free: 1.145 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-05/0.5659, allocations: 43.98 kB / 1.463 GB, free: 1.102 MB / 1.154 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.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 (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.001303/0.5672, allocations: 0.5716 MB / 1.463 GB, free: 0.5195 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004328/0.5677, allocations: 222.5 kB / 1.463 GB, free: 308 kB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.57, allocations: 1.067 MB / 1.464 GB, free: 15.24 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.5701, allocations: 8 kB / 1.464 GB, free: 15.23 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.5701, allocations: 4 kB / 1.464 GB, free: 15.23 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001504/0.5716, allocations: 0.8358 MB / 1.465 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005144/0.5767, allocations: 2.861 MB / 1.468 GB, free: 11.43 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.5767, allocations: 3.938 kB / 1.468 GB, free: 11.43 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006245/0.5773, allocations: 131.8 kB / 1.468 GB, free: 11.3 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.5774, allocations: 4 kB / 1.468 GB, free: 11.3 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.345e-05/0.5774, allocations: 27.98 kB / 1.468 GB, free: 11.27 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.5774, allocations: 4 kB / 1.468 GB, free: 11.27 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.5774, allocations: 7.984 kB / 1.468 GB, free: 11.26 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002876/0.5803, allocations: 1.503 MB / 1.47 GB, free: 9.719 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008238/0.5811, allocations: 330.3 kB / 1.47 GB, free: 9.395 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/0.5814, allocations: 27.98 kB / 1.47 GB, free: 9.367 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008553/0.5823, allocations: 43.95 kB / 1.47 GB, free: 9.324 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.5824, allocations: 68.53 kB / 1.47 GB, free: 9.258 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.315e-05/0.5825, allocations: 31.98 kB / 1.47 GB, free: 9.227 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002186/0.5847, allocations: 1.42 MB / 1.472 GB, free: 7.793 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.5847, allocations: 3.938 kB / 1.472 GB, free: 7.789 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001878/0.5866, allocations: 0.666 MB / 1.472 GB, free: 7.121 MB / 1.17 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.0037/0.5903, allocations: 1.124 MB / 1.473 GB, free: 6.312 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001884/0.5921, allocations: 0.8125 MB / 1.474 GB, free: 5.496 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5921, allocations: 0 / 1.474 GB, free: 5.496 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0008048/0.593, allocations: 380.9 kB / 1.474 GB, free: 5.125 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00407/0.597, allocations: 0.9021 MB / 1.475 GB, free: 4.242 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007622/0.6046, allocations: 3.982 MB / 1.479 GB, free: 208 kB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001437/0.6061, allocations: 1.599 MB / 1.481 GB, free: 14.57 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001522/0.6076, allocations: 396.3 kB / 1.481 GB, free: 14.19 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/0.608, allocations: 175.4 kB / 1.481 GB, free: 14.02 MB / 1.186 GB Notification: Performance of SimCode: time 1.122e-06/0.608, allocations: 0 / 1.481 GB, free: 14.02 MB / 1.186 GB Notification: Performance of Templates: time 0.07223/0.6803, allocations: 37.94 MB / 1.518 GB, free: 8.512 MB / 1.217 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: 11.343941984698176]