Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|per.PEleMax|per.PEleMin|assPow.PEleDem|assPow.assMesP.u|assPow.assMesDP.u",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.171/1.171, allocations: 249.4 MB / 256.7 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009431/0.0009431, allocations: 176.6 kB / 316 MB, free: 3.594 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.013/1.013, allocations: 205.1 MB / 0.5667 GB, free: 15.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008043/0.0008044, allocations: 96.05 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.192e-06/6.202e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1381, allocations: 106.3 MB / 0.8846 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3956/0.5338, allocations: 137.8 MB / 1.019 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/0.534, allocations: 80.27 kB / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02683/0.5609, allocations: 11.51 MB / 1.03 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.203e-05/0.5609, allocations: 11.94 kB / 1.03 GB, free: 7.266 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006672/0.5616, allocations: 0.6438 MB / 1.031 GB, free: 6.602 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.5616, allocations: 16.03 kB / 1.031 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.05e-05/0.5617, allocations: 55.25 kB / 1.031 GB, free: 6.531 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005468/0.5623, allocations: 393.5 kB / 1.032 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.5623, allocations: 4 kB / 1.032 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.5623, allocations: 8 kB / 1.032 GB, free: 6.129 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001536/0.5625, allocations: 70.98 kB / 1.032 GB, free: 6.086 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.5627, allocations: 111.5 kB / 1.032 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.5627, allocations: 4 kB / 1.032 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.5627, allocations: 0 / 1.032 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.5627, allocations: 3.906 kB / 1.032 GB, free: 5.988 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000773/0.5635, allocations: 0.5943 MB / 1.032 GB, free: 5.469 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.5637, allocations: 116.2 kB / 1.032 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.865e-05/0.5638, allocations: 38.97 kB / 1.032 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.5638, allocations: 4 kB / 1.032 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.5639, allocations: 92.27 kB / 1.033 GB, free: 5.258 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.5639, allocations: 0 / 1.033 GB, free: 5.258 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12): time 0.0002449/0.5642, allocations: 140.9 kB / 1.033 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.5642, allocations: 59.34 kB / 1.033 GB, free: 5.062 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000513/0.5647, allocations: 0.531 MB / 1.033 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.5648, allocations: 25.7 kB / 1.033 GB, free: 4.609 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.45e-05/0.5649, allocations: 165.4 kB / 1.033 GB, free: 4.465 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.5649, allocations: 26.86 kB / 1.033 GB, free: 4.441 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/0.5649, allocations: 4 kB / 1.033 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.565, allocations: 367.2 kB / 1.034 GB, free: 4.094 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.5652, allocations: 79.17 kB / 1.034 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.5653, allocations: 111.7 kB / 1.034 GB, free: 3.957 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.5654, allocations: 90.44 kB / 1.034 GB, free: 3.895 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5654, allocations: 0 / 1.034 GB, free: 3.895 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003339/0.5657, allocations: 267.4 kB / 1.034 GB, free: 3.68 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.5658, allocations: 8 kB / 1.034 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.5658, allocations: 0 / 1.034 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.5658, allocations: 0 / 1.034 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.5659, allocations: 38.95 kB / 1.034 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.576e-06/0.5659, allocations: 0 / 1.034 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.5661, allocations: 31.95 kB / 1.034 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.5662, allocations: 7.188 kB / 1.034 GB, free: 3.602 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.343e-05/0.5663, allocations: 121.3 kB / 1.035 GB, free: 3.477 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.5663, allocations: 47.34 kB / 1.035 GB, free: 3.43 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002614/0.5666, allocations: 165.9 kB / 1.035 GB, free: 3.289 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.5666, allocations: 0 / 1.035 GB, free: 3.289 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.5666, allocations: 4 kB / 1.035 GB, free: 3.285 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5666, allocations: 0 / 1.035 GB, free: 3.285 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.5669, allocations: 337 kB / 1.035 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5669, allocations: 0 / 1.035 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.547e-05/0.567, allocations: 8 kB / 1.035 GB, free: 2.973 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.567, allocations: 0 / 1.035 GB, free: 2.973 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.567, allocations: 19.36 kB / 1.035 GB, free: 2.957 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.567, allocations: 0 / 1.035 GB, free: 2.957 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.567, allocations: 0 / 1.035 GB, free: 2.957 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002877/0.5673, allocations: 227.4 kB / 1.035 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.149e-05/0.5674, allocations: 119.6 kB / 1.035 GB, free: 2.629 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.004e-05/0.5675, allocations: 7.562 kB / 1.035 GB, free: 2.625 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.5676, allocations: 15.98 kB / 1.035 GB, free: 2.609 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/0.5677, allocations: 31.36 kB / 1.035 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.5677, allocations: 4 kB / 1.035 GB, free: 2.578 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003328/0.568, allocations: 387 kB / 1.036 GB, free: 2.285 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002584/0.5683, allocations: 71.48 kB / 1.036 GB, free: 2.219 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.maxPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006202/0.5689, allocations: 345.9 kB / 1.036 GB, free: 1.965 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002155/0.5691, allocations: 137.3 kB / 1.036 GB, free: 1.871 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5691, allocations: 0 / 1.036 GB, free: 1.871 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.535e-05/0.5692, allocations: 45.56 kB / 1.036 GB, free: 1.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.5695, allocations: 62.33 kB / 1.036 GB, free: 1.801 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008936/0.5704, allocations: 0.5743 MB / 1.037 GB, free: 1.258 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004438/0.5709, allocations: 0.8814 MB / 1.038 GB, free: 376 kB / 0.6511 GB Notification: Performance of SimCode: time 2.81e-07/0.5709, allocations: 0 / 1.038 GB, free: 376 kB / 0.6511 GB Notification: Performance of Templates: time 0.006755/0.5776, allocations: 3.214 MB / 1.041 GB, free: 13.18 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches