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.001114/0.001114, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001257/0.001257, allocations: 193.1 kB / 16.14 MB, free: 6.684 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.397/1.397, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.889/2.889, allocations: 474.4 MB / 0.7465 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 70.77 kB / 0.9135 GB, free: 32.81 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3551, allocations: 160.3 MB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.TableData2D): time 0.0773/0.4325, allocations: 80.69 MB / 1.149 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02843/0.4609, allocations: 19.33 MB / 1.168 GB, free: 4.223 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006221/0.4672, allocations: 95.5 kB / 1.168 GB, free: 4.129 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005151/0.4724, allocations: 1.123 MB / 1.169 GB, free: 3 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01149/0.4839, allocations: 2.615 MB / 1.171 GB, free: 384 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006684/0.4906, allocations: 2.018 MB / 1.173 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01065/0.5013, allocations: 7.118 MB / 1.18 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004924/0.5062, allocations: 2.258 MB / 1.183 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005221/0.5115, allocations: 1.824 MB / 1.184 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003651/0.5152, allocations: 1.672 MB / 1.186 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0008841/0.5161, allocations: 132 kB / 1.186 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004914/0.521, allocations: 1.462 MB / 1.188 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001156/0.5222, allocations: 0.6186 MB / 1.188 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.003044/0.5252, allocations: 1.348 MB / 1.189 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.008436/0.5337, allocations: 4.962 MB / 1.194 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.5337, allocations: 7.984 kB / 1.194 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.966e-06/0.5337, allocations: 0 / 1.194 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001659/0.5339, allocations: 3.938 kB / 1.194 GB, free: 8.867 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.008693/0.5426, allocations: 3.289 MB / 1.198 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.807e-05/0.5427, allocations: 12.03 kB / 1.198 GB, free: 5.473 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.5446, allocations: 380.2 kB / 1.198 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005533/0.5501, allocations: 2.593 MB / 1.2 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.5503, allocations: 139.5 kB / 1.201 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002385/0.5505, allocations: 179.9 kB / 1.201 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003202/0.5537, allocations: 1.841 MB / 1.203 GB, free: 220 kB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/0.5538, allocations: 0 / 1.203 GB, free: 220 kB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/0.5539, allocations: 76 kB / 1.203 GB, free: 144 kB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.597e-05/0.554, allocations: 40 kB / 1.203 GB, free: 104 kB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002462/0.5564, allocations: 1.356 MB / 1.204 GB, free: 14.74 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.01023/0.5667, allocations: 7.914 MB / 1.212 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002096/0.5688, allocations: 0.8972 MB / 1.213 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006167/0.5694, allocations: 344.1 kB / 1.213 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008773/0.5703, allocations: 1.156 MB / 1.214 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000826/0.5712, allocations: 410.9 kB / 1.214 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=66): time 2.915e-06/0.5712, allocations: 0 / 1.214 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of matching and sorting (n=66): time 0.002672/0.5739, allocations: 1.078 MB / 1.215 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.489e-05/0.5739, allocations: 137.1 kB / 1.216 GB, free: 2.086 MB / 0.9669 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.002966/0.5769, allocations: 2.071 MB / 1.218 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.577, allocations: 45.7 kB / 1.218 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001087/0.5781, allocations: 1.179 MB / 1.219 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/0.5784, allocations: 240.7 kB / 1.219 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003091/0.5787, allocations: 214.4 kB / 1.219 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.5789, allocations: 349.8 kB / 1.22 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006367/0.5795, allocations: 333.8 kB / 1.22 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009241/0.5804, allocations: 0.6762 MB / 1.221 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.5819, allocations: 0.9299 MB / 1.221 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.5819, allocations: 4 kB / 1.221 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002315/0.5842, allocations: 1.21 MB / 1.223 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.5843, allocations: 8 kB / 1.223 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.5843, allocations: 8 kB / 1.223 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.5843, allocations: 12 kB / 1.223 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007115/0.585, allocations: 211.6 kB / 1.223 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.541e-05/0.5851, allocations: 15.94 kB / 1.223 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.5865, allocations: 200.5 kB / 1.223 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.44e-05/0.5866, allocations: 51.98 kB / 1.223 GB, free: 10.06 MB / 0.9825 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.001099/0.5878, allocations: 0.5769 MB / 1.224 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003409/0.5881, allocations: 213.4 kB / 1.224 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002009/0.5901, allocations: 1.037 MB / 1.225 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-05/0.5901, allocations: 11.94 kB / 1.225 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.5902, allocations: 4 kB / 1.225 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001437/0.5916, allocations: 0.8085 MB / 1.226 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00473/0.5963, allocations: 2.865 MB / 1.229 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.5964, allocations: 7.938 kB / 1.229 GB, free: 4.422 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005862/0.597, allocations: 127.9 kB / 1.229 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/0.597, allocations: 4 kB / 1.229 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.055e-05/0.597, allocations: 23.98 kB / 1.229 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.415e-06/0.5971, allocations: 11.94 kB / 1.229 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5971, allocations: 0 / 1.229 GB, free: 4.258 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002841/0.5999, allocations: 1.477 MB / 1.23 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000697/0.6006, allocations: 398.3 kB / 1.231 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002492/0.6009, allocations: 24 kB / 1.231 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009455/0.6018, allocations: 95.75 kB / 1.231 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001432/0.602, allocations: 56.47 kB / 1.231 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.521e-05/0.6021, allocations: 43.97 kB / 1.231 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002314/0.6044, allocations: 1.397 MB / 1.232 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6044, allocations: 0 / 1.232 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001952/0.6064, allocations: 0.6466 MB / 1.233 GB, free: 60 kB / 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.002595/0.609, allocations: 1.103 MB / 1.234 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001978/0.611, allocations: 0.8365 MB / 1.235 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.611, allocations: 0 / 1.235 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007467/0.6117, allocations: 407 kB / 1.235 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004304/0.616, allocations: 0.8756 MB / 1.236 GB, free: 13.17 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0084/0.6245, allocations: 4.912 MB / 1.241 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/0.6259, allocations: 1.6 MB / 1.242 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001953/0.6278, allocations: 401.5 kB / 1.243 GB, free: 6.188 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004352/0.6283, allocations: 175.4 kB / 1.243 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/0.6283, allocations: 0 / 1.243 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of Templates: time 0.6509/1.279, allocations: 35.22 MB / 1.277 GB, free: 163.8 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