Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.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.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGre.u1|intGre.u2|intGre.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGre.u1|intGre.u2|intGre.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater") [: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.786/1.786, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001361/0.001361, allocations: 181.3 kB / 487 MB, free: 5.305 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.11/1.11, allocations: 221.3 MB / 0.7819 GB, free: 1.363 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.0008471/0.0008471, allocations: 89.3 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.502e-06/6.522e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1805, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4925/0.6731, allocations: 148.3 MB / 1.35 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001589/0.6733, allocations: 74.66 kB / 1.35 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.003782/0.677, allocations: 1.145 MB / 1.351 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.6771, allocations: 1.375 kB / 1.351 GB, free: 15.65 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.0003999/0.6775, allocations: 388.6 kB / 1.352 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.6775, allocations: 9.688 kB / 1.352 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.123e-05/0.6775, allocations: 9.406 kB / 1.352 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.386e-05/0.6776, allocations: 179 kB / 1.352 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.6777, allocations: 2.75 kB / 1.352 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.6777, allocations: 6.75 kB / 1.352 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001118/0.6778, allocations: 46.59 kB / 1.352 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.6779, allocations: 73.33 kB / 1.352 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.6779, allocations: 0 / 1.352 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.6779, allocations: 0 / 1.352 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.678, allocations: 1.312 kB / 1.352 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.6783, allocations: 321.9 kB / 1.352 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003898/0.6787, allocations: 88.52 kB / 1.352 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.983e-05/0.6788, allocations: 27.09 kB / 1.352 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.6788, allocations: 1.125 kB / 1.352 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.327e-06/0.6788, allocations: 35.41 kB / 1.352 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 1.021e-06/0.6788, allocations: 4 kB / 1.352 GB, free: 14.72 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0001894/0.679, allocations: 83.28 kB / 1.353 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.319e-05/0.6791, allocations: 52.59 kB / 1.353 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.563e-05/0.6791, allocations: 115.8 kB / 1.353 GB, free: 14.53 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.918e-06/0.6791, allocations: 25.7 kB / 1.353 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.754e-05/0.6792, allocations: 88.34 kB / 1.353 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.6792, allocations: 20.41 kB / 1.353 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.712e-06/0.6792, allocations: 3.938 kB / 1.353 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.275e-05/0.6792, allocations: 318.2 kB / 1.353 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.105e-05/0.6793, allocations: 31.03 kB / 1.353 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.824e-05/0.6793, allocations: 18.25 kB / 1.353 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.085e-05/0.6794, allocations: 17.09 kB / 1.353 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.6794, allocations: 0 / 1.353 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001263/0.6795, allocations: 88.31 kB / 1.353 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/0.6795, allocations: 5.531 kB / 1.353 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.6795, allocations: 0 / 1.353 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.596e-06/0.6795, allocations: 1.656 kB / 1.353 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.6797, allocations: 32.75 kB / 1.353 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.6797, allocations: 1.359 kB / 1.353 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.6799, allocations: 31.8 kB / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.6799, allocations: 3 kB / 1.353 GB, free: 14.02 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 (intGre.u1,intGre.u2,intGre.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.174e-05/0.6799, allocations: 106.7 kB / 1.353 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.68, allocations: 7.312 kB / 1.353 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.058e-05/0.68, allocations: 11.12 kB / 1.353 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.68, allocations: 1.219 kB / 1.353 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.68, allocations: 0 / 1.353 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.68, allocations: 1.453 kB / 1.353 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001234/0.6802, allocations: 180.9 kB / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.6802, allocations: 0 / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.6803, allocations: 28.17 kB / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6803, allocations: 1.375 kB / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.6804, allocations: 2.969 kB / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.6804, allocations: 4 kB / 1.354 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6804, allocations: 0 / 1.354 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001406/0.6805, allocations: 181.6 kB / 1.354 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.886e-05/0.6805, allocations: 84.16 kB / 1.354 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.6806, allocations: 4.828 kB / 1.354 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.6807, allocations: 28.67 kB / 1.354 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.6808, allocations: 20.14 kB / 1.354 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.6808, allocations: 9.641 kB / 1.354 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.796e-05/0.6809, allocations: 89.16 kB / 1.354 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002264/0.6811, allocations: 14.59 kB / 1.354 GB, free: 13.42 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 (intGre.u1,intGre.u2,intGre.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 8.951e-05/0.6812, allocations: 110.1 kB / 1.354 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000137/0.6813, allocations: 57.91 kB / 1.354 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.6813, allocations: 0 / 1.354 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.754e-05/0.6814, allocations: 42.98 kB / 1.354 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.6816, allocations: 4.172 kB / 1.354 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/0.6819, allocations: 112.5 kB / 1.354 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.682, allocations: 0.7171 MB / 1.355 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of SimCode: time 2.41e-07/0.682, allocations: 0 / 1.355 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of Templates: time 0.003134/0.6852, allocations: 1.384 MB / 1.356 GB, free: 12.45 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Greater.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches