Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00168/0.00168, allocations: 113.5 kB / 17.13 MB, free: 5.926 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.002017/0.002017, allocations: 206.5 kB / 20.09 MB, free: 2.977 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.489/1.489, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.923/2.923, allocations: 0.49 GB / 0.7923 GB, free: 1.348 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002069/0.002069, allocations: 63.91 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.03, allocations: 176.1 MB / 1.322 GB, free: 25.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.08996/1.12, allocations: 82.82 MB / 1.403 GB, free: 13.8 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03775/1.158, allocations: 19.84 MB / 1.422 GB, free: 15.45 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008918/1.167, allocations: 137.3 kB / 1.422 GB, free: 15.39 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.006072/1.173, allocations: 1.39 MB / 1.424 GB, free: 14.61 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01229/1.185, allocations: 3.037 MB / 1.427 GB, free: 12.77 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.007996/1.193, allocations: 2.272 MB / 1.429 GB, free: 11.46 MB / 1.123 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.1.1-maint.12.x/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.01197/1.205, allocations: 5.86 MB / 1.435 GB, free: 8.523 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004999/1.21, allocations: 2.207 MB / 1.437 GB, free: 7.309 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007785/1.218, allocations: 2.518 MB / 1.439 GB, free: 6.027 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004656/1.223, allocations: 1.812 MB / 1.441 GB, free: 5.051 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001162/1.224, allocations: 327.6 kB / 1.441 GB, free: 5.047 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006398/1.23, allocations: 1.831 MB / 1.443 GB, free: 4.137 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001651/1.232, allocations: 0.8273 MB / 1.444 GB, free: 3.484 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003039/1.235, allocations: 1.585 MB / 1.445 GB, free: 2.316 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01134/1.246, allocations: 5.463 MB / 1.451 GB, free: 14.34 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/1.246, allocations: 1.531 kB / 1.451 GB, free: 14.34 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.553e-06/1.246, allocations: 0 / 1.451 GB, free: 14.34 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001174/1.246, allocations: 0 / 1.451 GB, free: 14.34 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: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.007864/1.254, allocations: 3.499 MB / 1.454 GB, free: 11.65 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/1.254, allocations: 17.08 kB / 1.454 GB, free: 11.64 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/1.256, allocations: 409.7 kB / 1.455 GB, free: 11.44 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00544/1.261, allocations: 2.728 MB / 1.457 GB, free: 9.363 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/1.261, allocations: 147.8 kB / 1.457 GB, free: 9.297 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003178/1.262, allocations: 189 kB / 1.458 GB, free: 9.234 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003862/1.265, allocations: 1.881 MB / 1.459 GB, free: 8.074 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.576e-05/1.265, allocations: 5.594 kB / 1.459 GB, free: 8.07 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/1.266, allocations: 76.06 kB / 1.46 GB, free: 8.012 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.774e-05/1.266, allocations: 49.47 kB / 1.46 GB, free: 8.008 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002854/1.269, allocations: 1.387 MB / 1.461 GB, free: 7.32 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.01276/1.281, allocations: 8.217 MB / 1.469 GB, free: 380 kB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002238/1.284, allocations: 0.8685 MB / 1.47 GB, free: 15.88 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006521/1.284, allocations: 314.8 kB / 1.47 GB, free: 15.73 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/1.285, allocations: 1.158 MB / 1.471 GB, free: 14.37 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009575/1.286, allocations: 408.9 kB / 1.472 GB, free: 14.12 MB / 1.154 GB Notification: Performance of pre-optimization done (n=66): time 2.555e-06/1.286, allocations: 0 / 1.472 GB, free: 14.12 MB / 1.154 GB Notification: Performance of matching and sorting (n=66): time 0.003059/1.289, allocations: 1.101 MB / 1.473 GB, free: 13.58 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/1.289, allocations: 143.4 kB / 1.473 GB, free: 13.41 MB / 1.154 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.1.1-maint.12.x/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.003864/1.293, allocations: 2.17 MB / 1.475 GB, free: 11.87 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001868/1.294, allocations: 53.64 kB / 1.475 GB, free: 11.81 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001353/1.295, allocations: 1.232 MB / 1.476 GB, free: 10.57 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003169/1.295, allocations: 253.9 kB / 1.476 GB, free: 10.32 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003683/1.296, allocations: 226.5 kB / 1.477 GB, free: 10.09 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001786/1.296, allocations: 341.9 kB / 1.477 GB, free: 9.75 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007395/1.296, allocations: 345.8 kB / 1.477 GB, free: 9.414 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/1.298, allocations: 0.7142 MB / 1.478 GB, free: 8.547 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/1.299, allocations: 0.967 MB / 1.479 GB, free: 7.469 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/1.299, allocations: 4 kB / 1.479 GB, free: 7.465 MB / 1.154 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002832/1.302, allocations: 1.258 MB / 1.48 GB, free: 6.195 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/1.302, allocations: 8 kB / 1.48 GB, free: 6.188 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/1.302, allocations: 12 kB / 1.48 GB, free: 6.176 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.109e-05/1.302, allocations: 16 kB / 1.48 GB, free: 6.16 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00077/1.303, allocations: 219.6 kB / 1.48 GB, free: 5.945 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.357e-05/1.303, allocations: 15.94 kB / 1.48 GB, free: 5.93 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/1.305, allocations: 171.3 kB / 1.481 GB, free: 5.762 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/1.305, allocations: 48 kB / 1.481 GB, free: 5.715 MB / 1.154 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.001311/1.306, allocations: 0.588 MB / 1.481 GB, free: 5.117 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006544/1.307, allocations: 234.4 kB / 1.481 GB, free: 4.887 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/1.309, allocations: 1.025 MB / 1.482 GB, free: 3.859 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/1.309, allocations: 4 kB / 1.482 GB, free: 3.855 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/1.309, allocations: 7.984 kB / 1.482 GB, free: 3.848 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001539/1.311, allocations: 0.8124 MB / 1.483 GB, free: 3.004 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00658/1.317, allocations: 2.925 MB / 1.486 GB, free: 0 / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/1.317, allocations: 0 / 1.486 GB, free: 0 / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006374/1.318, allocations: 131.8 kB / 1.486 GB, free: 15.87 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/1.318, allocations: 4 kB / 1.486 GB, free: 15.87 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.544e-05/1.318, allocations: 27.97 kB / 1.486 GB, free: 15.84 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.227e-06/1.318, allocations: 8.125 kB / 1.486 GB, free: 15.83 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.318, allocations: 7.938 kB / 1.486 GB, free: 15.82 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003104/1.321, allocations: 1.495 MB / 1.488 GB, free: 14.3 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009518/1.322, allocations: 411.5 kB / 1.488 GB, free: 13.88 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002753/1.322, allocations: 27.94 kB / 1.488 GB, free: 13.85 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008732/1.323, allocations: 67.75 kB / 1.488 GB, free: 13.78 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/1.324, allocations: 60.42 kB / 1.488 GB, free: 13.72 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.929e-05/1.324, allocations: 39.97 kB / 1.488 GB, free: 13.68 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002452/1.326, allocations: 1.473 MB / 1.49 GB, free: 12.2 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.326, allocations: 0 / 1.49 GB, free: 12.2 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002365/1.328, allocations: 0.6855 MB / 1.49 GB, free: 11.51 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.003812/1.332, allocations: 1.17 MB / 1.492 GB, free: 10.67 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001986/1.334, allocations: 0.8004 MB / 1.492 GB, free: 9.867 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.334, allocations: 1.25 kB / 1.492 GB, free: 9.867 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0007983/1.335, allocations: 379.4 kB / 1.493 GB, free: 9.496 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004441/1.339, allocations: 0.9254 MB / 1.494 GB, free: 8.594 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008033/1.347, allocations: 4.126 MB / 1.498 GB, free: 4.402 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/1.349, allocations: 1.611 MB / 1.499 GB, free: 2.762 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007508/1.35, allocations: 187.4 kB / 1.499 GB, free: 2.578 MB / 1.17 GB Notification: Performance of SimCode: time 1.663e-06/1.35, allocations: 0 / 1.499 GB, free: 2.578 MB / 1.17 GB Notification: Performance of Templates: time 0.0632/1.413, allocations: 38.64 MB / 1.537 GB, free: 12.12 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_ModularReversible_Validation_TableData2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.896394307012088]