Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max") [: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.782/1.782, 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.001075/0.001075, allocations: 169.4 kB / 487 MB, free: 5.352 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.116/1.116, allocations: 221.3 MB / 0.7819 GB, free: 1.324 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.0009449/0.0009449, allocations: 94.36 kB / 0.9213 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.362e-06/6.372e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1791, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4995/0.6786, allocations: 148.3 MB / 1.35 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001685/0.6788, allocations: 68.17 kB / 1.35 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.003766/0.6825, allocations: 1.131 MB / 1.351 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.042e-06/0.6826, allocations: 3.312 kB / 1.351 GB, free: 15.84 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003875/0.683, allocations: 382.2 kB / 1.352 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.683, allocations: 10.27 kB / 1.352 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.683, allocations: 8.719 kB / 1.352 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.6832, allocations: 180.9 kB / 1.352 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.6832, allocations: 2.219 kB / 1.352 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.6832, allocations: 7.031 kB / 1.352 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001141/0.6833, allocations: 47.08 kB / 1.352 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.6834, allocations: 73.33 kB / 1.352 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.6834, allocations: 1.531 kB / 1.352 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.6835, allocations: 4 kB / 1.352 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.6835, allocations: 5.266 kB / 1.352 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.6839, allocations: 314.5 kB / 1.352 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003851/0.6843, allocations: 91.56 kB / 1.352 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.865e-05/0.6843, allocations: 29.7 kB / 1.352 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.6843, allocations: 2.594 kB / 1.352 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.329e-05/0.6844, allocations: 31.94 kB / 1.352 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.6844, allocations: 0 / 1.352 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001881/0.6846, allocations: 81.38 kB / 1.352 GB, free: 14.87 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.328e-05/0.6846, allocations: 52.78 kB / 1.353 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.66e-05/0.6846, allocations: 117.8 kB / 1.353 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.6847, allocations: 27.08 kB / 1.353 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.747e-05/0.6847, allocations: 91.88 kB / 1.353 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.6847, allocations: 23.22 kB / 1.353 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.6847, allocations: 1.375 kB / 1.353 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.895e-05/0.6848, allocations: 320.5 kB / 1.353 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.957e-05/0.6848, allocations: 19.66 kB / 1.353 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.628e-05/0.6848, allocations: 19.97 kB / 1.353 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.011e-05/0.6849, allocations: 19.69 kB / 1.353 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6849, allocations: 5 kB / 1.353 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001331/0.685, allocations: 87.44 kB / 1.353 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.685, allocations: 7.594 kB / 1.353 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.6851, allocations: 0.625 kB / 1.353 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.6851, allocations: 1.281 kB / 1.353 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.6853, allocations: 33.83 kB / 1.353 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.6853, allocations: 0.8438 kB / 1.353 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.6854, allocations: 22.55 kB / 1.353 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.6855, allocations: 7.547 kB / 1.353 GB, free: 14.21 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: 3 (max1.u1,max1.u2,max1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 4.502e-05/0.6855, allocations: 113.1 kB / 1.353 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.6855, allocations: 6.688 kB / 1.353 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001779/0.6857, allocations: 95.42 kB / 1.353 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.6857, allocations: 0 / 1.353 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.6857, allocations: 1.5 kB / 1.353 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.6857, allocations: 1.5 kB / 1.353 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.6859, allocations: 177.1 kB / 1.354 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.6859, allocations: 3.938 kB / 1.354 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.6861, allocations: 34.28 kB / 1.354 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.6861, allocations: 1.406 kB / 1.354 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.6861, allocations: 5.297 kB / 1.354 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.6861, allocations: 1.281 kB / 1.354 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6861, allocations: 4.016 kB / 1.354 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001439/0.6863, allocations: 189.1 kB / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.836e-05/0.6863, allocations: 83.17 kB / 1.354 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.6863, allocations: 3.719 kB / 1.354 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.6865, allocations: 24.56 kB / 1.354 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.963e-05/0.6866, allocations: 20.23 kB / 1.354 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.6866, allocations: 3.859 kB / 1.354 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.389e-05/0.6866, allocations: 90.28 kB / 1.354 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002184/0.6868, allocations: 13.19 kB / 1.354 GB, free: 13.57 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.u1,max1.u2,max1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.000117/0.687, allocations: 106.6 kB / 1.354 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.6871, allocations: 55.33 kB / 1.354 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6871, allocations: 5.062 kB / 1.354 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.054e-05/0.6872, allocations: 37.2 kB / 1.354 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.6874, allocations: 3.188 kB / 1.354 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003106/0.6877, allocations: 116.6 kB / 1.354 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.6879, allocations: 0.7145 MB / 1.355 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of SimCode: time 2.1e-07/0.6879, allocations: 0 / 1.355 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of Templates: time 0.0034/0.6913, allocations: 1.381 MB / 1.356 GB, free: 12.61 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches