Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.706/1.706, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.0008899/0.0008899, allocations: 190 kB / 490.8 MB, free: 1.906 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.057/1.057, allocations: 221.4 MB / 0.7863 GB, free: 13.63 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008074/0.0008074, allocations: 92.67 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 6.342e-06/6.422e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1639, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.453/0.6169, allocations: 153.4 MB / 1.361 GB, free: 17.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000172/0.6171, allocations: 76.12 kB / 1.361 GB, free: 17.14 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02434/0.6414, allocations: 10.65 MB / 1.372 GB, free: 16.57 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.076e-05/0.6415, allocations: 8.938 kB / 1.372 GB, free: 16.57 MB / 0.823 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.0005891/0.6421, allocations: 0.5264 MB / 1.372 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.6421, allocations: 9.453 kB / 1.372 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.889e-05/0.6422, allocations: 31.53 kB / 1.372 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005829/0.6428, allocations: 398.5 kB / 1.373 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.6428, allocations: 7.734 kB / 1.373 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.6428, allocations: 5.938 kB / 1.373 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001201/0.6429, allocations: 58.16 kB / 1.373 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.6431, allocations: 98.19 kB / 1.373 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.6431, allocations: 1.453 kB / 1.373 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.6431, allocations: 0 / 1.373 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.6431, allocations: 2.594 kB / 1.373 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005981/0.6437, allocations: 488.4 kB / 1.373 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.6439, allocations: 127.2 kB / 1.374 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.526e-05/0.644, allocations: 44.92 kB / 1.374 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.644, allocations: 5.031 kB / 1.374 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001184/0.6441, allocations: 98.47 kB / 1.374 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.6441, allocations: 4 kB / 1.374 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0002522/0.6444, allocations: 149.9 kB / 1.374 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.453e-05/0.6444, allocations: 57.25 kB / 1.374 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004549/0.6449, allocations: 459.2 kB / 1.374 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.6449, allocations: 27.47 kB / 1.374 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.645, allocations: 128 kB / 1.374 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.645, allocations: 32.17 kB / 1.374 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.544e-05/0.645, allocations: 1.062 kB / 1.374 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.6451, allocations: 357.5 kB / 1.375 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.6453, allocations: 109.6 kB / 1.375 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001625/0.6455, allocations: 140.1 kB / 1.375 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.6458, allocations: 144.6 kB / 1.375 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6458, allocations: 0 / 1.375 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005744/0.6464, allocations: 358.5 kB / 1.376 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.6464, allocations: 8.797 kB / 1.376 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.6464, allocations: 5.219 kB / 1.376 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.6464, allocations: 6.375 kB / 1.376 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.6466, allocations: 49.03 kB / 1.376 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.6467, allocations: 2.281 kB / 1.376 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.6468, allocations: 16.66 kB / 1.376 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.545e-05/0.6468, allocations: 16.09 kB / 1.376 GB, free: 30.68 MB / 0.8386 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 6.996e-05/0.6469, allocations: 119.1 kB / 1.376 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.647, allocations: 31.09 kB / 1.376 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.6472, allocations: 182.7 kB / 1.376 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.6473, allocations: 2.609 kB / 1.376 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.6473, allocations: 0 / 1.376 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.6473, allocations: 1.688 kB / 1.376 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.6475, allocations: 281.4 kB / 1.376 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.6475, allocations: 4.562 kB / 1.376 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.982e-05/0.6476, allocations: 18.73 kB / 1.376 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.6476, allocations: 1 kB / 1.376 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.6476, allocations: 3.688 kB / 1.376 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.6476, allocations: 0 / 1.376 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.6476, allocations: 4.938 kB / 1.376 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002202/0.6478, allocations: 191.1 kB / 1.376 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.6479, allocations: 114.8 kB / 1.377 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.856e-05/0.648, allocations: 14.23 kB / 1.377 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001087/0.6481, allocations: 7.125 kB / 1.377 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.6482, allocations: 17.47 kB / 1.377 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.6482, allocations: 8.469 kB / 1.377 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002806/0.6485, allocations: 298.1 kB / 1.377 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002733/0.6487, allocations: 67.81 kB / 1.377 GB, free: 30.04 MB / 0.8386 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.0005294/0.6493, allocations: 338.4 kB / 1.377 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002727/0.6496, allocations: 183.4 kB / 1.377 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.6496, allocations: 1.031 kB / 1.377 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.254e-05/0.6497, allocations: 64.14 kB / 1.378 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.65, allocations: 71.92 kB / 1.378 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006521/0.6507, allocations: 436.5 kB / 1.378 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003654/0.6511, allocations: 0.8274 MB / 1.379 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/0.6511, allocations: 1.125 kB / 1.379 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of Templates: time 0.006481/0.6576, allocations: 3.617 MB / 1.382 GB, free: 27.91 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqual.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches