Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.964/1.964, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001056/0.001056, allocations: 177.3 kB / 490.8 MB, free: 1.938 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.335/1.335, allocations: 221.4 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009382/0.0009383, allocations: 90.92 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.296e-06/8.316e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2835, allocations: 143 MB / 1.212 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6601/0.9437, allocations: 150.4 MB / 1.358 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001806/0.944, allocations: 72.28 kB / 1.359 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01663/0.9606, allocations: 4.583 MB / 1.363 GB, free: 16.91 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.171e-05/0.9607, allocations: 7.438 kB / 1.363 GB, free: 16.91 MB / 0.823 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.001126/0.9619, allocations: 473 kB / 1.363 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.962, allocations: 9.031 kB / 1.363 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.9621, allocations: 27.56 kB / 1.363 GB, free: 32.49 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004915/0.9626, allocations: 265.7 kB / 1.364 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.9626, allocations: 5.047 kB / 1.364 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.354e-05/0.9627, allocations: 8.219 kB / 1.364 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002617/0.963, allocations: 88.23 kB / 1.364 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.9633, allocations: 125.2 kB / 1.364 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.9633, allocations: 5.062 kB / 1.364 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.9633, allocations: 0 / 1.364 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.931e-05/0.9634, allocations: 14.95 kB / 1.364 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.9645, allocations: 0.5011 MB / 1.364 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/0.965, allocations: 234.1 kB / 1.365 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.9651, allocations: 72.17 kB / 1.365 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.9652, allocations: 2.188 kB / 1.365 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.9652, allocations: 41.62 kB / 1.365 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=22): time 1.844e-06/0.9652, allocations: 0 / 1.365 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22): time 0.0004784/0.9657, allocations: 200.3 kB / 1.365 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.844e-05/0.9657, allocations: 58.16 kB / 1.365 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.966, allocations: 201.1 kB / 1.365 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.966, allocations: 29.64 kB / 1.365 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.9661, allocations: 102.9 kB / 1.365 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.363e-05/0.9662, allocations: 81.02 kB / 1.365 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.123e-05/0.9662, allocations: 0 / 1.365 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.9664, allocations: 339.6 kB / 1.366 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.9666, allocations: 82.55 kB / 1.366 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.9667, allocations: 86.52 kB / 1.366 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.9669, allocations: 104.3 kB / 1.366 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.9669, allocations: 0 / 1.366 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004328/0.9674, allocations: 261.5 kB / 1.366 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.9674, allocations: 5.188 kB / 1.366 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.9674, allocations: 0 / 1.366 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.9674, allocations: 2.5 kB / 1.366 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/0.9679, allocations: 78.7 kB / 1.366 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.9679, allocations: 4 kB / 1.366 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.9681, allocations: 25.97 kB / 1.366 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.9682, allocations: 8.094 kB / 1.366 GB, free: 31.11 MB / 0.8386 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 9.957e-05/0.9683, allocations: 104.7 kB / 1.366 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.089e-05/0.9683, allocations: 23.16 kB / 1.367 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.647e-05/0.9684, allocations: 31.14 kB / 1.367 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.9684, allocations: 1.438 kB / 1.367 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.9684, allocations: 9.406 kB / 1.367 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.9685, allocations: 5.438 kB / 1.367 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.9688, allocations: 278 kB / 1.367 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.9688, allocations: 3.938 kB / 1.367 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.9691, allocations: 40.97 kB / 1.367 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.9691, allocations: 3.906 kB / 1.367 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.9691, allocations: 5.312 kB / 1.367 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.9691, allocations: 2.953 kB / 1.367 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.9691, allocations: 3.984 kB / 1.367 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005075/0.9697, allocations: 385.1 kB / 1.367 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.9698, allocations: 118.8 kB / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.9698, allocations: 4.797 kB / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.9701, allocations: 8.203 kB / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.648e-05/0.9701, allocations: 17.48 kB / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.9701, allocations: 3.969 kB / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.000252/0.9704, allocations: 170.1 kB / 1.368 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003254/0.9707, allocations: 49.25 kB / 1.368 GB, free: 30.45 MB / 0.8386 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.0001625/0.9709, allocations: 102.4 kB / 1.368 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003424/0.9713, allocations: 187.5 kB / 1.368 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.9713, allocations: 0 / 1.368 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.9714, allocations: 91.38 kB / 1.368 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003373/0.9718, allocations: 40.39 kB / 1.368 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.9729, allocations: 483.5 kB / 1.368 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005202/0.9734, allocations: 0.7969 MB / 1.369 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of SimCode: time 2.91e-07/0.9734, allocations: 0 / 1.369 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of Templates: time 0.006116/0.9796, allocations: 2.279 MB / 1.371 GB, free: 29.32 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_Validation_ActuatorFilter.csv","../files/Buildings_latest_Buildings.Fluid.BaseClasses.Validation.ActuatorFilter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches