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.001871/0.001871, allocations: 77.47 kB / 19.76 MB, free: 2.027 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.002508/0.002508, allocations: 157.2 kB / 23.01 MB, free: 4.949 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.433/1.433, allocations: 177.2 MB / 203.4 MB, free: 8.969 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.213/3.213, allocations: 394.2 MB / 0.6387 GB, free: 11.94 MB / 0.6075 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.002203/0.002203, allocations: 67.89 kB / 1.009 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8972/0.8994, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.08325/0.9827, allocations: 74.98 MB / 1.26 GB, free: 13.88 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03245/1.015, allocations: 18.6 MB / 1.278 GB, free: 15.4 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005927/1.021, allocations: 140.1 kB / 1.278 GB, free: 15.33 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.004512/1.026, allocations: 1.324 MB / 1.279 GB, free: 14.28 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01026/1.036, allocations: 3.081 MB / 1.282 GB, free: 11.84 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.006811/1.043, allocations: 2.309 MB / 1.285 GB, free: 10.05 MB / 1.139 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.009449/1.052, allocations: 5.935 MB / 1.291 GB, free: 6.43 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003612/1.056, allocations: 2.11 MB / 1.293 GB, free: 4.879 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006541/1.062, allocations: 2.56 MB / 1.295 GB, free: 3.258 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003409/1.066, allocations: 1.679 MB / 1.297 GB, free: 2.184 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004766/1.066, allocations: 322 kB / 1.297 GB, free: 2.184 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003874/1.07, allocations: 1.495 MB / 1.298 GB, free: 1.539 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0009125/1.071, allocations: 0.8287 MB / 1.299 GB, free: 0.8867 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001683/1.073, allocations: 1.231 MB / 1.3 GB, free: 76 kB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00815/1.081, allocations: 5.411 MB / 1.306 GB, free: 12.02 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.081, allocations: 0 / 1.306 GB, free: 12.02 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.304e-06/1.081, allocations: 4 kB / 1.306 GB, free: 12.02 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.07e-05/1.081, allocations: 4 kB / 1.306 GB, free: 12.01 MB / 1.154 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.006109/1.087, allocations: 3.421 MB / 1.309 GB, free: 8.516 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/1.087, allocations: 8.031 kB / 1.309 GB, free: 8.508 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/1.088, allocations: 409.8 kB / 1.31 GB, free: 8.105 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004759/1.093, allocations: 2.665 MB / 1.312 GB, free: 5.363 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/1.093, allocations: 143.6 kB / 1.312 GB, free: 5.223 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002772/1.093, allocations: 196 kB / 1.312 GB, free: 5.031 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003549/1.097, allocations: 2.152 MB / 1.315 GB, free: 2.754 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.208e-05/1.097, allocations: 0 / 1.315 GB, free: 2.754 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/1.097, allocations: 76 kB / 1.315 GB, free: 2.68 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.987e-05/1.097, allocations: 44 kB / 1.315 GB, free: 2.637 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002851/1.1, allocations: 1.434 MB / 1.316 GB, free: 1.199 MB / 1.154 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.009523/1.11, allocations: 6.33 MB / 1.322 GB, free: 10.68 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/1.112, allocations: 0.823 MB / 1.323 GB, free: 9.852 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006747/1.113, allocations: 331.2 kB / 1.323 GB, free: 9.523 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003934/1.113, allocations: 108.6 kB / 1.323 GB, free: 9.418 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000978/1.114, allocations: 0.561 MB / 1.324 GB, free: 8.809 MB / 1.17 GB Notification: Performance of pre-optimization done (n=66): time 2.805e-06/1.114, allocations: 0 / 1.324 GB, free: 8.809 MB / 1.17 GB Notification: Performance of matching and sorting (n=66): time 0.002566/1.117, allocations: 1.129 MB / 1.325 GB, free: 7.672 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.492e-05/1.117, allocations: 137.2 kB / 1.325 GB, free: 7.508 MB / 1.17 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.002987/1.12, allocations: 2.03 MB / 1.327 GB, free: 5.445 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/1.12, allocations: 57.69 kB / 1.327 GB, free: 5.383 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001274/1.121, allocations: 1.231 MB / 1.328 GB, free: 4.137 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/1.121, allocations: 261.9 kB / 1.329 GB, free: 3.879 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003646/1.122, allocations: 222.5 kB / 1.329 GB, free: 3.656 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002/1.122, allocations: 345.9 kB / 1.329 GB, free: 3.312 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000742/1.123, allocations: 353.8 kB / 1.33 GB, free: 2.965 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/1.124, allocations: 1.174 MB / 1.331 GB, free: 1.535 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001711/1.126, allocations: 0.9985 MB / 1.332 GB, free: 428 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/1.126, allocations: 0 / 1.332 GB, free: 428 kB / 1.17 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002501/1.128, allocations: 1.267 MB / 1.333 GB, free: 15.14 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/1.128, allocations: 12.03 kB / 1.333 GB, free: 15.13 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/1.128, allocations: 12 kB / 1.333 GB, free: 15.12 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/1.128, allocations: 12 kB / 1.333 GB, free: 15.11 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007729/1.129, allocations: 219.6 kB / 1.333 GB, free: 14.89 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-05/1.129, allocations: 19.92 kB / 1.333 GB, free: 14.88 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/1.13, allocations: 131.3 kB / 1.333 GB, free: 14.75 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/1.13, allocations: 51.98 kB / 1.333 GB, free: 14.7 MB / 1.186 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.0009093/1.131, allocations: 0.5879 MB / 1.334 GB, free: 14.1 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003334/1.132, allocations: 230.5 kB / 1.334 GB, free: 13.87 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/1.134, allocations: 1.12 MB / 1.335 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/1.134, allocations: 12 kB / 1.335 GB, free: 12.74 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.134, allocations: 0 / 1.335 GB, free: 12.74 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001689/1.136, allocations: 0.8926 MB / 1.336 GB, free: 11.82 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004789/1.14, allocations: 2.575 MB / 1.339 GB, free: 9.184 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/1.14, allocations: 0 / 1.339 GB, free: 9.184 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006461/1.141, allocations: 144 kB / 1.339 GB, free: 9.043 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/1.141, allocations: 8 kB / 1.339 GB, free: 9.035 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.094e-05/1.141, allocations: 23.98 kB / 1.339 GB, free: 9.012 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.958e-06/1.141, allocations: 11.98 kB / 1.339 GB, free: 9 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.299e-06/1.141, allocations: 3.938 kB / 1.339 GB, free: 8.996 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00294/1.144, allocations: 1.591 MB / 1.34 GB, free: 7.371 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000711/1.145, allocations: 330.3 kB / 1.341 GB, free: 7.047 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002641/1.145, allocations: 20 kB / 1.341 GB, free: 7.027 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008551/1.146, allocations: 51.95 kB / 1.341 GB, free: 6.977 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/1.146, allocations: 84.33 kB / 1.341 GB, free: 6.895 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.654e-05/1.146, allocations: 35.98 kB / 1.341 GB, free: 6.859 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002285/1.148, allocations: 1.371 MB / 1.342 GB, free: 5.473 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.148, allocations: 0 / 1.342 GB, free: 5.473 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002001/1.15, allocations: 0.7087 MB / 1.343 GB, free: 4.762 MB / 1.186 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.004077/1.154, allocations: 1.219 MB / 1.344 GB, free: 3.914 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001933/1.156, allocations: 0.8537 MB / 1.345 GB, free: 3.062 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.156, allocations: 0 / 1.345 GB, free: 3.062 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0008746/1.157, allocations: 419.8 kB / 1.345 GB, free: 2.648 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003483/1.161, allocations: 0.78 MB / 1.346 GB, free: 1.891 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00752/1.168, allocations: 4.108 MB / 1.35 GB, free: 13.73 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001478/1.17, allocations: 1.067 MB / 1.351 GB, free: 12.62 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001292/1.171, allocations: 387.5 kB / 1.352 GB, free: 12.25 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004367/1.171, allocations: 176.4 kB / 1.352 GB, free: 12.08 MB / 1.201 GB Notification: Performance of SimCode: time 8.12e-07/1.171, allocations: 0 / 1.352 GB, free: 12.08 MB / 1.201 GB Notification: Performance of Templates: time 0.0675/1.239, allocations: 36.32 MB / 1.387 GB, free: 8.367 MB / 1.232 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 -s ida -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: 12.05096434801817]