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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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=5000,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=5000,variableFilter="time|TConOutMea|TConOutSim|PEleMea|PEleSim|TEvaOutMea|TEvaOutSim",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 107.5 kB / 15.99 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 195.4 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.405/1.405, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.689/2.689, allocations: 472.7 MB / 0.7455 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 68.17 kB / 0.9123 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3513, allocations: 159.9 MB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.6877/1.039, allocations: 80.51 MB / 1.147 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03785/1.077, allocations: 19.18 MB / 1.166 GB, free: 336 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007487/1.084, allocations: 95.81 kB / 1.166 GB, free: 300 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.005155/1.09, allocations: 1.179 MB / 1.167 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01147/1.101, allocations: 2.632 MB / 1.17 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.007184/1.108, allocations: 2.037 MB / 1.172 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01165/1.12, allocations: 5.737 MB / 1.177 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005377/1.125, allocations: 2.629 MB / 1.18 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006905/1.132, allocations: 2.216 MB / 1.182 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00423/1.137, allocations: 1.751 MB / 1.184 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0009255/1.138, allocations: 305.9 kB / 1.184 GB, free: 5.805 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005694/1.143, allocations: 1.724 MB / 1.186 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001275/1.145, allocations: 0.7874 MB / 1.186 GB, free: 4.336 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002814/1.147, allocations: 1.523 MB / 1.188 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.007524/1.155, allocations: 4.153 MB / 1.192 GB, free: 200 kB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.155, allocations: 0 / 1.192 GB, free: 200 kB / 0.9044 GB Notification: Performance of FrontEnd: time 4.528e-06/1.155, allocations: 0 / 1.192 GB, free: 200 kB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001077/1.155, allocations: 3.938 kB / 1.192 GB, free: 196 kB / 0.9044 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.007802/1.163, allocations: 3.294 MB / 1.195 GB, free: 13.69 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.163, allocations: 9.125 kB / 1.195 GB, free: 13.69 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/1.165, allocations: 379 kB / 1.196 GB, free: 13.51 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005171/1.17, allocations: 2.59 MB / 1.198 GB, free: 11.52 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/1.17, allocations: 144.5 kB / 1.198 GB, free: 11.45 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003019/1.17, allocations: 184.9 kB / 1.198 GB, free: 11.39 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004074/1.174, allocations: 1.833 MB / 1.2 GB, free: 10.25 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.244e-05/1.174, allocations: 1.219 kB / 1.2 GB, free: 10.25 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/1.175, allocations: 72.38 kB / 1.2 GB, free: 10.2 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.747e-05/1.175, allocations: 47.42 kB / 1.2 GB, free: 10.2 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00279/1.177, allocations: 1.352 MB / 1.202 GB, free: 9.523 MB / 0.92 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.01207/1.189, allocations: 7.909 MB / 1.209 GB, free: 2.602 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002164/1.192, allocations: 0.9178 MB / 1.21 GB, free: 1.66 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006406/1.192, allocations: 338.4 kB / 1.211 GB, free: 1.328 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/1.193, allocations: 1.156 MB / 1.212 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009111/1.194, allocations: 403 kB / 1.212 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=66): time 3.126e-06/1.194, allocations: 0 / 1.212 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=66): time 0.002725/1.197, allocations: 1.086 MB / 1.213 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/1.197, allocations: 141.1 kB / 1.213 GB, free: 14.25 MB / 0.9356 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.0-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.003356/1.201, allocations: 2.063 MB / 1.215 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001663/1.201, allocations: 45.7 kB / 1.215 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001311/1.202, allocations: 1.191 MB / 1.216 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002994/1.202, allocations: 232.7 kB / 1.217 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003646/1.203, allocations: 218.4 kB / 1.217 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001691/1.203, allocations: 345.9 kB / 1.217 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006839/1.204, allocations: 337.8 kB / 1.218 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/1.205, allocations: 0.6646 MB / 1.218 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/1.206, allocations: 0.9402 MB / 1.219 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/1.206, allocations: 0 / 1.219 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002597/1.209, allocations: 1.206 MB / 1.22 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/1.209, allocations: 9.422 kB / 1.22 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/1.209, allocations: 8 kB / 1.22 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/1.209, allocations: 12 kB / 1.22 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000736/1.21, allocations: 212 kB / 1.221 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.469e-05/1.21, allocations: 19.94 kB / 1.221 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/1.212, allocations: 204.5 kB / 1.221 GB, free: 6.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.844e-05/1.212, allocations: 43.98 kB / 1.221 GB, free: 6.227 MB / 0.9356 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.eff.hys.y,$PRE.heaPum.eff.hys.y,heaPum.hys.y,$PRE.heaPum.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.001298/1.213, allocations: 0.5698 MB / 1.221 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005428/1.214, allocations: 217.3 kB / 1.222 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/1.216, allocations: 1.031 MB / 1.223 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.472e-05/1.216, allocations: 8 kB / 1.223 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.216, allocations: 0 / 1.223 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001509/1.218, allocations: 0.8124 MB / 1.223 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005345/1.223, allocations: 2.873 MB / 1.226 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/1.223, allocations: 0 / 1.226 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006063/1.224, allocations: 135.7 kB / 1.226 GB, free: 484 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/1.224, allocations: 4 kB / 1.226 GB, free: 480 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.714e-05/1.224, allocations: 27.97 kB / 1.226 GB, free: 452 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-06/1.224, allocations: 4 kB / 1.226 GB, free: 448 kB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/1.224, allocations: 4.125 kB / 1.226 GB, free: 444 kB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00281/1.226, allocations: 1.477 MB / 1.228 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008871/1.227, allocations: 402.2 kB / 1.228 GB, free: 14.51 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/1.228, allocations: 23.98 kB / 1.228 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009581/1.229, allocations: 91.81 kB / 1.228 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/1.229, allocations: 60.42 kB / 1.228 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.828e-05/1.229, allocations: 39.97 kB / 1.228 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002384/1.231, allocations: 1.4 MB / 1.23 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/1.231, allocations: 0 / 1.23 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002335/1.234, allocations: 0.6388 MB / 1.23 GB, free: 12.24 MB / 0.9512 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.hys.y,heaPum.eff.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.003778/1.237, allocations: 1.117 MB / 1.231 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002324/1.24, allocations: 0.9452 MB / 1.232 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.24, allocations: 4 kB / 1.232 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000769/1.241, allocations: 400 kB / 1.233 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004381/1.245, allocations: 0.9043 MB / 1.234 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008337/1.253, allocations: 4.963 MB / 1.238 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/1.255, allocations: 1.588 MB / 1.24 GB, free: 2.574 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006789/1.255, allocations: 179.4 kB / 1.24 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of SimCode: time 1.062e-06/1.255, allocations: 0 / 1.24 GB, free: 2.402 MB / 0.9512 GB Notification: Performance of Templates: time 0.06388/1.319, allocations: 36.82 MB / 1.276 GB, free: 13.86 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe 2>&1) 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) Reference file matches