Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.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.FilterPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filPow.PEleDem|filPow.PEle|filPow.assPow.assMesP.u|filPow.assPow.assMesDP.u",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filPow.PEleDem|filPow.PEle|filPow.assPow.assMesP.u|filPow.assPow.assMesDP.u",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower") [: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.166/1.166, allocations: 249.4 MB / 256.7 MB, free: 7.004 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.000964/0.000964, allocations: 177.3 kB / 316 MB, free: 3.617 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.009/1.009, allocations: 205.1 MB / 0.5667 GB, free: 15.72 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.0007917/0.0007918, allocations: 92.7 kB / 0.671 GB, free: 4.855 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.573e-06/6.593e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1361, allocations: 106.3 MB / 0.8846 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.392/0.5281, allocations: 139.4 MB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.5284, allocations: 89.44 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.02985/0.5582, allocations: 12.92 MB / 1.033 GB, free: 4.629 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.881e-05/0.5583, allocations: 11.94 kB / 1.033 GB, free: 4.617 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0008036/0.5591, allocations: 0.7143 MB / 1.034 GB, free: 3.887 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.5591, allocations: 12.03 kB / 1.034 GB, free: 3.875 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.942e-05/0.5592, allocations: 67.16 kB / 1.034 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006257/0.5599, allocations: 463.4 kB / 1.035 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.5599, allocations: 7.984 kB / 1.035 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.5599, allocations: 15.91 kB / 1.035 GB, free: 3.348 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002382/0.5602, allocations: 129.3 kB / 1.035 GB, free: 3.273 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.5604, allocations: 156.8 kB / 1.035 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5605, allocations: 8 kB / 1.035 GB, free: 3.148 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.5605, allocations: 0 / 1.035 GB, free: 3.148 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.5605, allocations: 4 kB / 1.035 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009984/0.5615, allocations: 0.8036 MB / 1.036 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.5617, allocations: 154 kB / 1.036 GB, free: 2.383 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/0.5618, allocations: 57.86 kB / 1.036 GB, free: 2.348 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.5619, allocations: 8 kB / 1.036 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001665/0.562, allocations: 141.1 kB / 1.036 GB, free: 2.219 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.562, allocations: 0 / 1.036 GB, free: 2.219 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.000296/0.5623, allocations: 191.4 kB / 1.036 GB, free: 2.059 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.5624, allocations: 81.11 kB / 1.036 GB, free: 1.961 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005352/0.5629, allocations: 0.5682 MB / 1.037 GB, free: 1.512 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.563, allocations: 36.89 kB / 1.037 GB, free: 1.473 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.399e-05/0.5631, allocations: 178.8 kB / 1.037 GB, free: 1.316 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.5631, allocations: 46.8 kB / 1.037 GB, free: 1.277 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.49e-05/0.5631, allocations: 0 / 1.037 GB, free: 1.277 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.5632, allocations: 372.1 kB / 1.037 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.5634, allocations: 99.48 kB / 1.038 GB, free: 0.8711 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.5635, allocations: 143.3 kB / 1.038 GB, free: 0.7617 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001359/0.5637, allocations: 106.1 kB / 1.038 GB, free: 0.6914 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5637, allocations: 0 / 1.038 GB, free: 0.6914 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004161/0.5641, allocations: 320.6 kB / 1.038 GB, free: 456 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.829e-05/0.5642, allocations: 176.9 kB / 1.038 GB, free: 268 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.5642, allocations: 7.938 kB / 1.038 GB, free: 260 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.5642, allocations: 4 kB / 1.038 GB, free: 256 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.5644, allocations: 51.91 kB / 1.038 GB, free: 204 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.556e-06/0.5645, allocations: 0 / 1.038 GB, free: 204 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002345/0.5647, allocations: 47.81 kB / 1.038 GB, free: 156 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.24e-05/0.5647, allocations: 15.23 kB / 1.038 GB, free: 144 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.139e-06/0.5647, allocations: 4 kB / 1.038 GB, free: 140 kB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003402/0.5651, allocations: 238.8 kB / 1.039 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-06/0.5651, allocations: 0 / 1.039 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/0.5651, allocations: 4 kB / 1.039 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.5653, allocations: 47.91 kB / 1.039 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-06/0.5653, allocations: 0 / 1.039 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.5655, allocations: 43.84 kB / 1.039 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.5655, allocations: 10.81 kB / 1.039 GB, free: 15.87 MB / 0.6667 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,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled,filPow.assPow.assMesP.u,$PRE.filPow.assPow.maxPow.y,filPow.assPow.maxPow.y,$PRE.filPow.assPow.minPow.y,filPow.assPow.minPow.y,filPow.assPow.assMesDP.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 7.822e-05/0.5656, allocations: 120.4 kB / 1.039 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.988e-05/0.5657, allocations: 63.25 kB / 1.039 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003066/0.566, allocations: 202.5 kB / 1.039 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.566, allocations: 0 / 1.039 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.566, allocations: 0 / 1.039 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.566, allocations: 4 kB / 1.039 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003055/0.5663, allocations: 405.4 kB / 1.039 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5663, allocations: 0 / 1.039 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.5665, allocations: 35.92 kB / 1.039 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5665, allocations: 0 / 1.039 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.5665, allocations: 7.984 kB / 1.04 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.5665, allocations: 0 / 1.04 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.5666, allocations: 0 / 1.04 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003621/0.5669, allocations: 295.8 kB / 1.04 GB, free: 14.9 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 9.409e-05/0.567, allocations: 135.6 kB / 1.04 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.96e-05/0.5671, allocations: 8.062 kB / 1.04 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.5673, allocations: 27.97 kB / 1.04 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/0.5674, allocations: 35.08 kB / 1.04 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.5674, allocations: 4 kB / 1.04 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0003583/0.5677, allocations: 421.9 kB / 1.04 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000414/0.5682, allocations: 131.2 kB / 1.041 GB, free: 14.25 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (filPow.assPow.demRat.x,filPow.dPLim.y) * Number of discrete variables: 7 ($whenCondition1,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled,filPow.assPow.assMesP.u,filPow.assPow.maxPow.y,filPow.assPow.minPow.y,filPow.assPow.assMesDP.u) * Number of discrete states: 4 (filPow.assPow.minPow.y,filPow.assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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.0006015/0.5688, allocations: 373.3 kB / 1.041 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004226/0.5692, allocations: 327.8 kB / 1.041 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.5692, allocations: 0 / 1.041 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.5693, allocations: 76.36 kB / 1.041 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.5697, allocations: 75.62 kB / 1.041 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.5707, allocations: 0.6708 MB / 1.042 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004563/0.5712, allocations: 0.9297 MB / 1.043 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of SimCode: time 2.3e-07/0.5712, allocations: 7.938 kB / 1.043 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of Templates: time 0.01032/0.5815, allocations: 6.257 MB / 1.049 GB, free: 5.871 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_FilterPower.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.FilterPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches