Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.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.Controls.OBC.CDL.Integers.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGre.u1|intGre.u2|intGre.y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.407/1.407, allocations: 249.4 MB / 256.7 MB, free: 15.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 181.8 kB / 316 MB, free: 7.23 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.785/1.785, allocations: 205.1 MB / 0.5667 GB, free: 23.66 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.0009349/0.0009347, allocations: 86.42 kB / 0.671 GB, free: 0.9844 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.111e-05/1.114e-05, allocations: 4 kB / 0.7807 GB, free: 500 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.512/0.5121, allocations: 106.3 MB / 0.8846 GB, free: 76.31 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1656/0.6777, allocations: 131 MB / 1.012 GB, free: 9.133 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.678, allocations: 67.95 kB / 1.013 GB, free: 9.066 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.004507/0.6825, allocations: 1.166 MB / 1.014 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.6826, allocations: 0 / 1.014 GB, free: 7.902 MB / 0.6667 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.0005539/0.6831, allocations: 392.9 kB / 1.014 GB, free: 7.477 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.6832, allocations: 11.97 kB / 1.014 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.6832, allocations: 19.8 kB / 1.014 GB, free: 7.445 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.6834, allocations: 171 kB / 1.014 GB, free: 7.238 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.6834, allocations: 7.906 kB / 1.014 GB, free: 7.23 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.6835, allocations: 4 kB / 1.014 GB, free: 7.227 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001425/0.6836, allocations: 47.92 kB / 1.014 GB, free: 7.18 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.6838, allocations: 69.66 kB / 1.014 GB, free: 7.105 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.6838, allocations: 3.984 kB / 1.014 GB, free: 7.102 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.6838, allocations: 4 kB / 1.014 GB, free: 7.098 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.6838, allocations: 4 kB / 1.014 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005439/0.6844, allocations: 309.1 kB / 1.015 GB, free: 6.754 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.6848, allocations: 94.66 kB / 1.015 GB, free: 6.652 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.254e-05/0.6849, allocations: 28.86 kB / 1.015 GB, free: 6.621 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.6849, allocations: 0 / 1.015 GB, free: 6.621 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.685, allocations: 30.56 kB / 1.015 GB, free: 6.582 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.685, allocations: 3.938 kB / 1.015 GB, free: 6.578 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7): time 0.0002617/0.6852, allocations: 97.64 kB / 1.015 GB, free: 6.477 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.6853, allocations: 51.41 kB / 1.015 GB, free: 6.414 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.974e-05/0.6854, allocations: 108.9 kB / 1.015 GB, free: 6.301 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.6854, allocations: 29.7 kB / 1.015 GB, free: 6.266 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.812e-05/0.6855, allocations: 95.97 kB / 1.015 GB, free: 6.168 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.034e-05/0.6855, allocations: 19.75 kB / 1.015 GB, free: 6.148 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-06/0.6855, allocations: 0 / 1.015 GB, free: 6.148 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.6856, allocations: 322.7 kB / 1.016 GB, free: 5.824 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.693e-05/0.6857, allocations: 20 kB / 1.016 GB, free: 5.805 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.137e-05/0.6857, allocations: 20 kB / 1.016 GB, free: 5.785 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.283e-05/0.6858, allocations: 15.98 kB / 1.016 GB, free: 5.77 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6858, allocations: 0 / 1.016 GB, free: 5.77 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001493/0.686, allocations: 89.58 kB / 1.016 GB, free: 5.676 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.686, allocations: 4 kB / 1.016 GB, free: 5.672 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.686, allocations: 0 / 1.016 GB, free: 5.672 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.686, allocations: 0 / 1.016 GB, free: 5.672 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.6862, allocations: 35.91 kB / 1.016 GB, free: 5.637 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.6862, allocations: 4 kB / 1.016 GB, free: 5.633 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.6864, allocations: 15.98 kB / 1.016 GB, free: 5.617 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.6864, allocations: 7.984 kB / 1.016 GB, free: 5.609 MB / 0.6667 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 8.953e-05/0.6865, allocations: 107.1 kB / 1.016 GB, free: 5.5 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.329e-05/0.6865, allocations: 7.906 kB / 1.016 GB, free: 5.492 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.542e-05/0.6866, allocations: 8.375 kB / 1.016 GB, free: 5.484 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.6866, allocations: 7.906 kB / 1.016 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.6866, allocations: 0 / 1.016 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.6866, allocations: 0 / 1.016 GB, free: 5.477 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002865/0.6869, allocations: 174.2 kB / 1.016 GB, free: 5.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.6869, allocations: 0 / 1.016 GB, free: 5.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.6871, allocations: 39.91 kB / 1.016 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.6871, allocations: 0 / 1.016 GB, free: 5.23 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.6871, allocations: 4 kB / 1.016 GB, free: 5.227 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.6871, allocations: 3.906 kB / 1.016 GB, free: 5.223 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.6871, allocations: 0 / 1.016 GB, free: 5.223 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002141/0.6874, allocations: 183.4 kB / 1.016 GB, free: 5.027 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.6874, allocations: 81.02 kB / 1.016 GB, free: 4.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.6875, allocations: 8 kB / 1.016 GB, free: 4.922 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.6876, allocations: 19.97 kB / 1.016 GB, free: 4.902 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.965e-05/0.6877, allocations: 23.97 kB / 1.016 GB, free: 4.879 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.6877, allocations: 4 kB / 1.016 GB, free: 4.875 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.005e-05/0.6878, allocations: 91.28 kB / 1.016 GB, free: 4.785 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0002352/0.688, allocations: 20.11 kB / 1.016 GB, free: 4.766 MB / 0.6667 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 0.0002015/0.6883, allocations: 107.1 kB / 1.017 GB, free: 4.652 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001716/0.6884, allocations: 58.39 kB / 1.017 GB, free: 4.598 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.6884, allocations: 4 kB / 1.017 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 7.326e-05/0.6885, allocations: 28 kB / 1.017 GB, free: 4.566 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.6888, allocations: 19.89 kB / 1.017 GB, free: 4.547 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004219/0.6892, allocations: 116.1 kB / 1.017 GB, free: 4.41 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003595/0.6896, allocations: 0.7075 MB / 1.018 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of SimCode: time 2.2e-07/0.6896, allocations: 0 / 1.018 GB, free: 3.676 MB / 0.6667 GB Notification: Performance of Templates: time 0.003755/0.6933, allocations: 1.388 MB / 1.019 GB, free: 2.301 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Greater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_Greater.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches