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.GreaterEqual.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.GreaterEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEqu.u1|intGreEqu.u2|intGreEqu.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEqu.u1|intGreEqu.u2|intGreEqu.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual") [: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.339/1.339, allocations: 249.4 MB / 256.7 MB, free: 7.047 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00141/0.001409, allocations: 173.3 kB / 316 MB, free: 3.574 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.377/1.377, allocations: 205.1 MB / 0.5667 GB, free: 15.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.0009857/0.0009858, allocations: 86.09 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.666e-06/8.706e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2433, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6008/0.8442, allocations: 135.6 MB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.8445, allocations: 79.23 kB / 1.017 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02662/0.8712, allocations: 10.1 MB / 1.027 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.63e-05/0.8712, allocations: 4.188 kB / 1.027 GB, free: 10.64 MB / 0.6511 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.0006966/0.8719, allocations: 0.5317 MB / 1.027 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.872, allocations: 8.031 kB / 1.027 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.483e-05/0.8721, allocations: 39.53 kB / 1.028 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005929/0.8727, allocations: 374.4 kB / 1.028 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.8727, allocations: 3.312 kB / 1.028 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.8727, allocations: 11.94 kB / 1.028 GB, free: 9.656 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001447/0.8729, allocations: 60.73 kB / 1.028 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.873, allocations: 98.5 kB / 1.028 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.8731, allocations: 0 / 1.028 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.8731, allocations: 0 / 1.028 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.8731, allocations: 4 kB / 1.028 GB, free: 9.527 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006538/0.8738, allocations: 474.2 kB / 1.028 GB, free: 9.102 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.874, allocations: 115.7 kB / 1.029 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.571e-05/0.874, allocations: 49.25 kB / 1.029 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.8741, allocations: 0 / 1.029 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.8742, allocations: 105.2 kB / 1.029 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.8742, allocations: 4 kB / 1.029 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0002987/0.8745, allocations: 148.5 kB / 1.029 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.8746, allocations: 54.34 kB / 1.029 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004654/0.875, allocations: 442.4 kB / 1.029 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.8751, allocations: 29.7 kB / 1.029 GB, free: 8.301 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.322e-05/0.8751, allocations: 121.9 kB / 1.03 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.8752, allocations: 42.28 kB / 1.03 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.631e-05/0.8752, allocations: 0 / 1.03 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.8754, allocations: 354.7 kB / 1.03 GB, free: 7.812 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.8755, allocations: 107.3 kB / 1.03 GB, free: 7.738 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.8757, allocations: 141.8 kB / 1.03 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.8759, allocations: 112.4 kB / 1.03 GB, free: 7.559 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8759, allocations: 0 / 1.03 GB, free: 7.559 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000444/0.8764, allocations: 334.2 kB / 1.031 GB, free: 7.297 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.8764, allocations: 12.05 kB / 1.031 GB, free: 7.285 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.8764, allocations: 0 / 1.031 GB, free: 7.285 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.8764, allocations: 4 kB / 1.031 GB, free: 7.281 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.8767, allocations: 51.16 kB / 1.031 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.8767, allocations: 4 kB / 1.031 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.8769, allocations: 12.06 kB / 1.031 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/0.8769, allocations: 23.3 kB / 1.031 GB, free: 7.199 MB / 0.6511 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,intGreEqu.u1,intGreEqu.u2,intGreEqu.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 9.111e-05/0.877, allocations: 116.8 kB / 1.031 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.8771, allocations: 31.62 kB / 1.031 GB, free: 7.047 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.8774, allocations: 168.1 kB / 1.031 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.8774, allocations: 4 kB / 1.031 GB, free: 6.91 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.8774, allocations: 0 / 1.031 GB, free: 6.91 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.8774, allocations: 0 / 1.031 GB, free: 6.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002279/0.8776, allocations: 282.5 kB / 1.031 GB, free: 6.641 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8776, allocations: 3.938 kB / 1.031 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.141e-05/0.8777, allocations: 15.98 kB / 1.031 GB, free: 6.621 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.8777, allocations: 8 kB / 1.031 GB, free: 6.613 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.8778, allocations: 0 / 1.031 GB, free: 6.613 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.8778, allocations: 7.906 kB / 1.031 GB, free: 6.605 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.8778, allocations: 0 / 1.031 GB, free: 6.605 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002496/0.878, allocations: 192.4 kB / 1.031 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.413e-05/0.8781, allocations: 123.7 kB / 1.032 GB, free: 6.289 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.07e-05/0.8782, allocations: 3.312 kB / 1.032 GB, free: 6.289 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.8783, allocations: 15.98 kB / 1.032 GB, free: 6.273 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.953e-05/0.8784, allocations: 10.92 kB / 1.032 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.8784, allocations: 11.17 kB / 1.032 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002713/0.8787, allocations: 286.8 kB / 1.032 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002954/0.879, allocations: 63.42 kB / 1.032 GB, free: 5.98 MB / 0.6511 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,intGreEqu.u1,intGreEqu.u2,intGreEqu.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.0006837/0.8797, allocations: 309 kB / 1.032 GB, free: 5.758 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002899/0.88, allocations: 191 kB / 1.032 GB, free: 5.625 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.88, allocations: 4 kB / 1.032 GB, free: 5.621 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.68e-05/0.8801, allocations: 60.8 kB / 1.032 GB, free: 5.578 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.8805, allocations: 81.8 kB / 1.033 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007449/0.8813, allocations: 423.3 kB / 1.033 GB, free: 5.121 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004148/0.8817, allocations: 0.8273 MB / 1.034 GB, free: 4.277 MB / 0.6511 GB Notification: Performance of SimCode: time 2.81e-07/0.8817, allocations: 0 / 1.034 GB, free: 4.277 MB / 0.6511 GB Notification: Performance of Templates: time 0.007376/0.8891, allocations: 3.439 MB / 1.037 GB, free: 0.875 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqual.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches