Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001262/0.001262, allocations: 104.2 kB / 15.99 MB, free: 5.891 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.001284/0.001284, allocations: 192.7 kB / 16.91 MB, free: 5.746 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.428/1.428, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.911/2.911, allocations: 469.8 MB / 0.7427 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 69.11 kB / 0.9087 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.3489, allocations: 159.2 MB / 1.064 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.09905/0.4481, allocations: 80.5 MB / 1.143 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03289/0.481, allocations: 19.18 MB / 1.161 GB, free: 10.6 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005382/0.4864, allocations: 99.38 kB / 1.162 GB, free: 10.5 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00469/0.4912, allocations: 1.166 MB / 1.163 GB, free: 9.332 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009775/0.501, allocations: 2.639 MB / 1.165 GB, free: 6.684 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006439/0.5075, allocations: 2.034 MB / 1.167 GB, free: 4.672 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.008968/0.5164, allocations: 5.744 MB / 1.173 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004375/0.5209, allocations: 2.624 MB / 1.175 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005876/0.5268, allocations: 2.208 MB / 1.178 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00343/0.5302, allocations: 1.762 MB / 1.179 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0007047/0.5309, allocations: 308 kB / 1.18 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004381/0.5353, allocations: 1.72 MB / 1.181 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001028/0.5364, allocations: 0.7865 MB / 1.182 GB, free: 5.441 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002221/0.5386, allocations: 1.528 MB / 1.184 GB, free: 3.906 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005649/0.5443, allocations: 4.143 MB / 1.188 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.5443, allocations: 11.94 kB / 1.188 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5443, allocations: 0 / 1.188 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.645e-05/0.5444, allocations: 0 / 1.188 GB, free: 15.74 MB / 0.9512 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.006168/0.5506, allocations: 3.294 MB / 1.191 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.5506, allocations: 8.031 kB / 1.191 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00118/0.5518, allocations: 384.2 kB / 1.191 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004418/0.5562, allocations: 2.591 MB / 1.194 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.5564, allocations: 139.5 kB / 1.194 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002624/0.5567, allocations: 183.9 kB / 1.194 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003426/0.5601, allocations: 1.833 MB / 1.196 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/0.5601, allocations: 4 kB / 1.196 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/0.5603, allocations: 76 kB / 1.196 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.153e-05/0.5604, allocations: 44 kB / 1.196 GB, free: 6.969 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002569/0.5629, allocations: 1.352 MB / 1.197 GB, free: 5.613 MB / 0.9512 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.01089/0.5738, allocations: 7.914 MB / 1.205 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002092/0.5759, allocations: 0.9062 MB / 1.206 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006269/0.5766, allocations: 338.4 kB / 1.206 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009932/0.5776, allocations: 1.152 MB / 1.207 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008436/0.5785, allocations: 407 kB / 1.208 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=66): time 6.101e-06/0.5785, allocations: 0 / 1.208 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of matching and sorting (n=66): time 0.002623/0.5811, allocations: 1.09 MB / 1.209 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.227e-05/0.5812, allocations: 137.1 kB / 1.209 GB, free: 8.945 MB / 0.9669 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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 11.1.0-maint.11.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.003147/0.5844, allocations: 2.061 MB / 1.211 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.5845, allocations: 53.69 kB / 1.211 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001206/0.5857, allocations: 1.187 MB / 1.212 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002745/0.586, allocations: 236.7 kB / 1.212 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000342/0.5863, allocations: 214.4 kB / 1.213 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.5865, allocations: 345.9 kB / 1.213 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000675/0.5872, allocations: 337.8 kB / 1.213 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.5882, allocations: 0.6684 MB / 1.214 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.5898, allocations: 0.9363 MB / 1.215 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.5898, allocations: 0 / 1.215 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002573/0.5924, allocations: 1.202 MB / 1.216 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.5924, allocations: 8 kB / 1.216 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/0.5925, allocations: 12 kB / 1.216 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.744e-05/0.5925, allocations: 12 kB / 1.216 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008044/0.5933, allocations: 211.6 kB / 1.216 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.666e-05/0.5933, allocations: 19.92 kB / 1.216 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.5949, allocations: 202.9 kB / 1.216 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-05/0.595, allocations: 47.98 kB / 1.216 GB, free: 0.918 MB / 0.9669 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.001091/0.5961, allocations: 0.57 MB / 1.217 GB, free: 348 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003945/0.5965, allocations: 217.2 kB / 1.217 GB, free: 128 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/0.5985, allocations: 1.019 MB / 1.218 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/0.5986, allocations: 11.98 kB / 1.218 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5986, allocations: 3.938 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001421/0.6, allocations: 0.8163 MB / 1.219 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005005/0.605, allocations: 2.865 MB / 1.222 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.6051, allocations: 7.969 kB / 1.222 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005858/0.6057, allocations: 131.8 kB / 1.222 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.6057, allocations: 4 kB / 1.222 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.309e-05/0.6058, allocations: 27.98 kB / 1.222 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.221e-05/0.6058, allocations: 4 kB / 1.222 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/0.6058, allocations: 3.938 kB / 1.222 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/0.6086, allocations: 1.477 MB / 1.223 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007715/0.6093, allocations: 402.2 kB / 1.224 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002518/0.6096, allocations: 24 kB / 1.224 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009097/0.6105, allocations: 91.75 kB / 1.224 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.6107, allocations: 64.41 kB / 1.224 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/0.6108, allocations: 39.98 kB / 1.224 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0022/0.613, allocations: 1.4 MB / 1.225 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.613, allocations: 0 / 1.225 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001947/0.6149, allocations: 0.6427 MB / 1.226 GB, free: 6.926 MB / 0.9825 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.003503/0.6184, allocations: 1.102 MB / 1.227 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002338/0.6208, allocations: 0.9418 MB / 1.228 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.6208, allocations: 11.97 kB / 1.228 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007566/0.6216, allocations: 403 kB / 1.228 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00413/0.6257, allocations: 0.9122 MB / 1.229 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007676/0.6334, allocations: 4.971 MB / 1.234 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/0.6348, allocations: 1.592 MB / 1.236 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005736/0.6354, allocations: 183.4 kB / 1.236 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/0.6354, allocations: 0 / 1.236 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of Templates: time 0.5682/1.204, allocations: 36.8 MB / 1.272 GB, free: 169.2 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.makefile (rm -f Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_ModularReversible_Validation_TableData2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches