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.001305/0.001305, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001344/0.001344, allocations: 194.2 kB / 16.25 MB, free: 6.637 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.453/1.453, allocations: 222.9 MB / 239.9 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.992/2.992, allocations: 482.3 MB / 0.7542 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 62.28 kB / 0.9232 GB, free: 29.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3744, allocations: 162.2 MB / 1.082 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.09253/0.467, allocations: 80.64 MB / 1.16 GB, free: 12.86 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03059/0.4976, allocations: 19.18 MB / 1.179 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003951/0.5016, allocations: 95.44 kB / 1.179 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00385/0.5055, allocations: 1.174 MB / 1.18 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.007802/0.5133, allocations: 2.628 MB / 1.183 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005566/0.5189, allocations: 2.021 MB / 1.185 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.008535/0.5274, allocations: 5.747 MB / 1.19 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004369/0.5318, allocations: 2.628 MB / 1.193 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006002/0.5379, allocations: 2.39 MB / 1.195 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003028/0.5409, allocations: 1.738 MB / 1.197 GB, free: 7.129 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0006241/0.5415, allocations: 308 kB / 1.197 GB, free: 6.828 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003794/0.5453, allocations: 1.724 MB / 1.199 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0008944/0.5463, allocations: 0.7865 MB / 1.2 GB, free: 4.312 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001915/0.5482, allocations: 1.528 MB / 1.201 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.007205/0.5554, allocations: 5.095 MB / 1.206 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.5554, allocations: 0 / 1.206 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.62e-07/0.5554, allocations: 0 / 1.206 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.553e-05/0.5555, allocations: 0 / 1.206 GB, free: 13.67 MB / 0.9669 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.006239/0.5618, allocations: 3.293 MB / 1.21 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.5618, allocations: 8.031 kB / 1.21 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/0.5631, allocations: 392.1 kB / 1.21 GB, free: 9.887 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004868/0.5679, allocations: 2.596 MB / 1.212 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.5681, allocations: 139.5 kB / 1.213 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002998/0.5684, allocations: 187.9 kB / 1.213 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003477/0.5719, allocations: 1.833 MB / 1.215 GB, free: 5 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.791e-05/0.572, allocations: 0 / 1.215 GB, free: 5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/0.5721, allocations: 68 kB / 1.215 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.852e-05/0.5722, allocations: 52 kB / 1.215 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/0.5748, allocations: 1.348 MB / 1.216 GB, free: 3.531 MB / 0.9669 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.01111/0.5859, allocations: 7.922 MB / 1.224 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.5881, allocations: 0.8974 MB / 1.225 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006587/0.5888, allocations: 343 kB / 1.225 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/0.5898, allocations: 1.156 MB / 1.226 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009218/0.5908, allocations: 410.9 kB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=66): time 2.535e-06/0.5908, allocations: 1.422 kB / 1.226 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of matching and sorting (n=66): time 0.002641/0.5934, allocations: 1.082 MB / 1.227 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.482e-05/0.5936, allocations: 137.1 kB / 1.228 GB, free: 6.863 MB / 0.9825 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.003384/0.5969, allocations: 2.059 MB / 1.23 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001723/0.5971, allocations: 49.7 kB / 1.23 GB, free: 4.723 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001242/0.5984, allocations: 1.187 MB / 1.231 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003126/0.5987, allocations: 240.7 kB / 1.231 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003316/0.599, allocations: 214.4 kB / 1.231 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.5992, allocations: 345.9 kB / 1.232 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006987/0.5999, allocations: 341.8 kB / 1.232 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.601, allocations: 0.6646 MB / 1.233 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.6026, allocations: 0.9441 MB / 1.233 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.6026, allocations: 3.938 kB / 1.233 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002573/0.6052, allocations: 1.202 MB / 1.235 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.6052, allocations: 9.562 kB / 1.235 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.6052, allocations: 8.531 kB / 1.235 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.6053, allocations: 12 kB / 1.235 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007408/0.606, allocations: 211.6 kB / 1.235 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.139e-05/0.606, allocations: 23.92 kB / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.6076, allocations: 202.7 kB / 1.235 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.873e-05/0.6077, allocations: 47.98 kB / 1.235 GB, free: 14.82 MB / 0.9981 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.001103/0.6089, allocations: 0.5683 MB / 1.236 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004835/0.6093, allocations: 217.4 kB / 1.236 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/0.6115, allocations: 1.016 MB / 1.237 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/0.6115, allocations: 11.98 kB / 1.237 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.6116, allocations: 4 kB / 1.237 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001489/0.6131, allocations: 0.8124 MB / 1.238 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005039/0.6181, allocations: 2.865 MB / 1.241 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.6181, allocations: 3.938 kB / 1.241 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006005/0.6187, allocations: 128 kB / 1.241 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.517e-06/0.6188, allocations: 8 kB / 1.241 GB, free: 9.082 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.438e-05/0.6188, allocations: 27.98 kB / 1.241 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.6189, allocations: 7.938 kB / 1.241 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.6189, allocations: 4 kB / 1.241 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00289/0.6218, allocations: 1.477 MB / 1.242 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007989/0.6226, allocations: 398.2 kB / 1.243 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002773/0.6229, allocations: 28 kB / 1.243 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009872/0.6239, allocations: 87.81 kB / 1.243 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.624, allocations: 56.61 kB / 1.243 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.937e-05/0.6241, allocations: 39.97 kB / 1.243 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002311/0.6264, allocations: 1.404 MB / 1.244 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6264, allocations: 0 / 1.244 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001887/0.6283, allocations: 0.6504 MB / 1.245 GB, free: 4.84 MB / 0.9981 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.003655/0.632, allocations: 1.117 MB / 1.246 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002368/0.6344, allocations: 0.9487 MB / 1.247 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.6344, allocations: 3.938 kB / 1.247 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008055/0.6352, allocations: 404.4 kB / 1.247 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004339/0.6395, allocations: 0.9016 MB / 1.248 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4834/1.123, allocations: 4.906 MB / 1.253 GB, free: 161.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001395/1.124, allocations: 1.597 MB / 1.254 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001773/1.126, allocations: 399.4 kB / 1.255 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004717/1.127, allocations: 179.6 kB / 1.255 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of SimCode: time 8.91e-07/1.127, allocations: 0 / 1.255 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.06687/1.194, allocations: 36.29 MB / 1.29 GB, free: 150.1 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/jenkins/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