Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.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.GreaterEqual,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreEqu.u1|intGreEqu.u2|intGreEqu.y",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.764/1.764, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.00096/0.00096, allocations: 177.3 kB / 487 MB, free: 5.387 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.124/1.124, allocations: 221.3 MB / 0.7819 GB, free: 1.426 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.0008873/0.0008873, allocations: 99.98 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.602e-06/6.612e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.181, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5066/0.6876, allocations: 152.6 MB / 1.354 GB, free: 16.14 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.6878, allocations: 75.5 kB / 1.354 GB, free: 16.14 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02558/0.7134, allocations: 10.66 MB / 1.365 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.367e-05/0.7135, allocations: 16 kB / 1.365 GB, free: 12.26 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000539/0.714, allocations: 0.5176 MB / 1.365 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.7141, allocations: 13.03 kB / 1.365 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.384e-05/0.7141, allocations: 27.62 kB / 1.365 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000549/0.7147, allocations: 401.8 kB / 1.366 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.7147, allocations: 4 kB / 1.366 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.7148, allocations: 4 kB / 1.366 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001103/0.7149, allocations: 59.03 kB / 1.366 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.715, allocations: 97.08 kB / 1.366 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.715, allocations: 4 kB / 1.366 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.715, allocations: 0 / 1.366 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.715, allocations: 3.906 kB / 1.366 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005446/0.7156, allocations: 496.7 kB / 1.366 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.7158, allocations: 122.2 kB / 1.366 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.937e-05/0.7158, allocations: 50.53 kB / 1.366 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.7159, allocations: 4 kB / 1.366 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.716, allocations: 98.38 kB / 1.367 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.716, allocations: 0 / 1.367 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0002366/0.7162, allocations: 155.4 kB / 1.367 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.453e-05/0.7162, allocations: 51.41 kB / 1.367 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003771/0.7166, allocations: 453.2 kB / 1.367 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.7166, allocations: 29.52 kB / 1.367 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.7167, allocations: 127.7 kB / 1.367 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.7167, allocations: 42.3 kB / 1.367 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.508e-05/0.7167, allocations: 0 / 1.367 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.371e-05/0.7168, allocations: 344.5 kB / 1.368 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.7169, allocations: 112.6 kB / 1.368 GB, free: 9.355 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.7171, allocations: 139.1 kB / 1.368 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.7174, allocations: 149.2 kB / 1.368 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.7174, allocations: 0 / 1.368 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005015/0.7179, allocations: 356.1 kB / 1.368 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/0.7179, allocations: 4.219 kB / 1.368 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.7179, allocations: 0 / 1.368 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.7179, allocations: 11.88 kB / 1.368 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.7181, allocations: 47.66 kB / 1.368 GB, free: 8.801 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.7181, allocations: 4.062 kB / 1.368 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.7183, allocations: 19.83 kB / 1.368 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.213e-05/0.7183, allocations: 15.44 kB / 1.369 GB, free: 8.766 MB / 0.8073 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 5.69e-05/0.7184, allocations: 108.9 kB / 1.369 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.7184, allocations: 39.52 kB / 1.369 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002421/0.7187, allocations: 173.6 kB / 1.369 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.7187, allocations: 4 kB / 1.369 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.7187, allocations: 7.984 kB / 1.369 GB, free: 8.465 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.7187, allocations: 3.984 kB / 1.369 GB, free: 8.461 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.7189, allocations: 283.4 kB / 1.369 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.7189, allocations: 0 / 1.369 GB, free: 8.195 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.422e-05/0.719, allocations: 12 kB / 1.369 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.719, allocations: 0 / 1.369 GB, free: 8.184 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.719, allocations: 7.984 kB / 1.369 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.719, allocations: 0 / 1.369 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.719, allocations: 0 / 1.369 GB, free: 8.176 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001907/0.7192, allocations: 197.1 kB / 1.369 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.616e-05/0.7193, allocations: 120.1 kB / 1.369 GB, free: 7.863 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.754e-05/0.7193, allocations: 4 kB / 1.369 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.7194, allocations: 7.984 kB / 1.369 GB, free: 7.852 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.7195, allocations: 14.73 kB / 1.369 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.7195, allocations: 15.92 kB / 1.369 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002139/0.7197, allocations: 299.1 kB / 1.37 GB, free: 7.602 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002606/0.72, allocations: 71.67 kB / 1.37 GB, free: 7.535 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: 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.0005037/0.7205, allocations: 327.1 kB / 1.37 GB, free: 7.297 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.7207, allocations: 183.4 kB / 1.37 GB, free: 7.168 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.7207, allocations: 0 / 1.37 GB, free: 7.168 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.023e-05/0.7208, allocations: 68.2 kB / 1.37 GB, free: 7.121 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.7212, allocations: 80.38 kB / 1.37 GB, free: 7.055 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005657/0.7218, allocations: 433.8 kB / 1.371 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/0.7221, allocations: 0.8301 MB / 1.372 GB, free: 21.81 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.7221, allocations: 0 / 1.372 GB, free: 21.81 MB / 0.823 GB Notification: Performance of Templates: time 0.005597/0.7277, allocations: 3.628 MB / 1.375 GB, free: 18.24 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqual.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqual.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches