Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act_1.y|act_2.y|act_y_start1.y|act_y_start05.y",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter") translateModel(Buildings.Fluid.BaseClasses.Validation.ActuatorFilter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act_1.y|act_2.y|act_y_start1.y|act_y_start05.y",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter") [: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 9.1.1-maint.9.1.x/package.mo): time 1.926/1.926, allocations: 387.2 MB / 394.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 177.2 kB / 487 MB, free: 5.348 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 221.3 MB / 0.7819 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009535/0.0009539, allocations: 97.12 kB / 0.9213 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.812e-06/6.833e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.249, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6995/0.9486, allocations: 149.6 MB / 1.351 GB, free: 16 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.9488, allocations: 74.12 kB / 1.351 GB, free: 16 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01526/0.9641, allocations: 4.588 MB / 1.356 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.691e-05/0.9641, allocations: 7.406 kB / 1.356 GB, free: 15.7 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0005781/0.9647, allocations: 471.8 kB / 1.356 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.9648, allocations: 8.438 kB / 1.356 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.254e-05/0.9649, allocations: 28.89 kB / 1.356 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.9652, allocations: 263.5 kB / 1.357 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.9652, allocations: 3.312 kB / 1.357 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.9653, allocations: 9.609 kB / 1.357 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002061/0.9655, allocations: 94.11 kB / 1.357 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.9657, allocations: 125.7 kB / 1.357 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.9657, allocations: 0 / 1.357 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.9657, allocations: 0.875 kB / 1.357 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/0.9658, allocations: 16.17 kB / 1.357 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008724/0.9666, allocations: 0.5011 MB / 1.357 GB, free: 14.76 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003858/0.967, allocations: 234.1 kB / 1.358 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.9672, allocations: 73.86 kB / 1.358 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.9672, allocations: 2.281 kB / 1.358 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.9672, allocations: 33.83 kB / 1.358 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=22): time 1.373e-06/0.9672, allocations: 4 kB / 1.358 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of matching and sorting (n=22): time 0.0004341/0.9677, allocations: 204.2 kB / 1.358 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/0.9677, allocations: 54.03 kB / 1.358 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.9679, allocations: 201.6 kB / 1.358 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.968, allocations: 26.58 kB / 1.358 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.968, allocations: 107 kB / 1.358 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.915e-05/0.9681, allocations: 82.83 kB / 1.358 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.715e-05/0.9681, allocations: 0 / 1.358 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.961e-05/0.9682, allocations: 337 kB / 1.359 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.9684, allocations: 82.7 kB / 1.359 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.9686, allocations: 84.69 kB / 1.359 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001817/0.9688, allocations: 105.6 kB / 1.359 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.9688, allocations: 0 / 1.359 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004358/0.9692, allocations: 258.8 kB / 1.359 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.9692, allocations: 11.84 kB / 1.359 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.9692, allocations: 0 / 1.359 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.9693, allocations: 5.828 kB / 1.359 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/0.9697, allocations: 77.48 kB / 1.359 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.9697, allocations: 1.5 kB / 1.359 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000265/0.97, allocations: 22.06 kB / 1.359 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.97, allocations: 8.531 kB / 1.359 GB, free: 13.91 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 6.276e-05/0.9701, allocations: 106.7 kB / 1.359 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.9702, allocations: 23.22 kB / 1.359 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.371e-05/0.9702, allocations: 33.11 kB / 1.359 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.9702, allocations: 2.594 kB / 1.359 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.9702, allocations: 0 / 1.359 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.9703, allocations: 2.188 kB / 1.359 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.9706, allocations: 284.7 kB / 1.36 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.9706, allocations: 0 / 1.36 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002591/0.9708, allocations: 44.66 kB / 1.36 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.9709, allocations: 1 kB / 1.36 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.9709, allocations: 9.453 kB / 1.36 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.9709, allocations: 0.75 kB / 1.36 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.9709, allocations: 6.516 kB / 1.36 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004701/0.9714, allocations: 373.4 kB / 1.36 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.9715, allocations: 125.3 kB / 1.36 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.209e-05/0.9716, allocations: 8.609 kB / 1.36 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.9718, allocations: 6.844 kB / 1.36 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.9719, allocations: 13.67 kB / 1.36 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.9719, allocations: 8.281 kB / 1.36 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001346/0.972, allocations: 164.9 kB / 1.36 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000292/0.9723, allocations: 52.86 kB / 1.36 GB, free: 13.25 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (act_1.s[1],act_1.s[2],act_2.s[1],act_2.s[2],act_y_start05.s[1],act_y_start05.s[2],act_y_start1.s[1],act_y_start1.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0001368/0.9725, allocations: 100.7 kB / 1.361 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003274/0.9728, allocations: 191.7 kB / 1.361 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.9728, allocations: 0 / 1.361 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.973, allocations: 88.02 kB / 1.361 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.9734, allocations: 36.16 kB / 1.361 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.9745, allocations: 485.8 kB / 1.361 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004804/0.975, allocations: 0.7869 MB / 1.362 GB, free: 28.28 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.975, allocations: 0 / 1.362 GB, free: 28.28 MB / 0.823 GB Notification: Performance of Templates: time 0.005167/0.9802, allocations: 2.289 MB / 1.364 GB, free: 27.08 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_BaseClasses_Validation_ActuatorFilter.csv","../files/Buildings_9_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches