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.Less.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.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intLes.u1|intLes.u2|intLes.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less") [: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.341/1.341, allocations: 249.4 MB / 256.7 MB, free: 15.8 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.001103/0.001103, allocations: 181 kB / 316 MB, free: 7.203 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.605/1.605, allocations: 205.1 MB / 0.5667 GB, free: 23.63 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.0009508/0.0009508, allocations: 91.86 kB / 0.671 GB, free: 0.957 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 9.217e-06/9.317e-06, allocations: 0 / 0.7807 GB, free: 472 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4238/0.4238, allocations: 106.3 MB / 0.8846 GB, free: 76.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1485/0.5724, allocations: 134.5 MB / 1.016 GB, free: 5.59 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.5726, allocations: 79.95 kB / 1.016 GB, free: 5.512 MB / 0.6667 GB Notification: Performance of FrontEnd: time 0.0267/0.5993, allocations: 10.12 MB / 1.026 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.581e-05/0.5994, allocations: 4 kB / 1.026 GB, free: 11.38 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000655/0.6001, allocations: 0.5251 MB / 1.026 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.6001, allocations: 11.97 kB / 1.026 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.235e-05/0.6002, allocations: 35.53 kB / 1.026 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005969/0.6008, allocations: 371.7 kB / 1.027 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.6008, allocations: 4 kB / 1.027 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.6008, allocations: 7.984 kB / 1.027 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001357/0.601, allocations: 55.98 kB / 1.027 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.6012, allocations: 101.6 kB / 1.027 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.6012, allocations: 4 kB / 1.027 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.6012, allocations: 0 / 1.027 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.6012, allocations: 4 kB / 1.027 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006675/0.6019, allocations: 461 kB / 1.027 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.6021, allocations: 130.8 kB / 1.028 GB, free: 9.555 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.285e-05/0.6022, allocations: 53 kB / 1.028 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.6022, allocations: 7.984 kB / 1.028 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.6023, allocations: 93.09 kB / 1.028 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.6023, allocations: 0 / 1.028 GB, free: 9.391 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0002865/0.6026, allocations: 159.8 kB / 1.028 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.6027, allocations: 55.41 kB / 1.028 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004809/0.6031, allocations: 445.8 kB / 1.028 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.6032, allocations: 33.64 kB / 1.028 GB, free: 8.68 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.6032, allocations: 120.4 kB / 1.028 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.6033, allocations: 35.56 kB / 1.029 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.572e-05/0.6033, allocations: 0 / 1.029 GB, free: 8.523 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6035, allocations: 350.7 kB / 1.029 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.6036, allocations: 108.5 kB / 1.029 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.6038, allocations: 143.4 kB / 1.029 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.604, allocations: 111.9 kB / 1.029 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.604, allocations: 0 / 1.029 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004668/0.6045, allocations: 334.1 kB / 1.03 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.6045, allocations: 4 kB / 1.03 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.6045, allocations: 0 / 1.03 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.6045, allocations: 4 kB / 1.03 GB, free: 7.465 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.6048, allocations: 59.97 kB / 1.03 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.6048, allocations: 0 / 1.03 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.6049, allocations: 19.83 kB / 1.03 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-05/0.605, allocations: 12 kB / 1.03 GB, free: 7.375 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.389e-05/0.6051, allocations: 126.9 kB / 1.03 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.398e-05/0.6051, allocations: 27.62 kB / 1.03 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003012/0.6054, allocations: 172.6 kB / 1.03 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.6055, allocations: 0 / 1.03 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6055, allocations: 4 kB / 1.03 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.6055, allocations: 7.922 kB / 1.03 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002334/0.6057, allocations: 273.9 kB / 1.03 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.6057, allocations: 3.984 kB / 1.03 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.214e-05/0.6058, allocations: 16 kB / 1.03 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.6058, allocations: 0 / 1.03 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.6058, allocations: 7.984 kB / 1.03 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.6058, allocations: 7.906 kB / 1.03 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.6059, allocations: 0 / 1.03 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000246/0.6061, allocations: 179.7 kB / 1.03 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.609e-05/0.6062, allocations: 124.6 kB / 1.031 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/0.6063, allocations: 4 kB / 1.031 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.6064, allocations: 4 kB / 1.031 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.6065, allocations: 23.97 kB / 1.031 GB, free: 6.332 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.6065, allocations: 15.92 kB / 1.031 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002755/0.6068, allocations: 288.6 kB / 1.031 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002898/0.6071, allocations: 56 kB / 1.031 GB, free: 5.984 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006007/0.6077, allocations: 315.8 kB / 1.031 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002805/0.608, allocations: 187.8 kB / 1.031 GB, free: 5.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.608, allocations: 4.125 kB / 1.031 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.6081, allocations: 67.91 kB / 1.031 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.6085, allocations: 80.44 kB / 1.032 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007375/0.6092, allocations: 420 kB / 1.032 GB, free: 4.98 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004677/0.6097, allocations: 0.8257 MB / 1.033 GB, free: 4.125 MB / 0.6823 GB Notification: Performance of SimCode: time 3.21e-07/0.6097, allocations: 3.938 kB / 1.033 GB, free: 4.121 MB / 0.6823 GB Notification: Performance of Templates: time 0.006817/0.6166, allocations: 3.446 MB / 1.036 GB, free: 0.707 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_Less.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches