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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.219/2.219, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001149/0.001149, allocations: 179.5 kB / 0.4902 GB, free: 2.227 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.593/1.593, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.001016/0.001016, allocations: 111.1 kB / 0.9396 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003778, allocations: 10.09 kB / 1.09 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3226, allocations: 143 MB / 1.229 GB, free: 85.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2161/0.5387, allocations: 154.2 MB / 1.38 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.5391, allocations: 83.94 kB / 1.38 GB, free: 11.01 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03133/0.5704, allocations: 11.15 MB / 1.391 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of FrontEnd: time 5.44e-06/0.5705, allocations: 3.984 kB / 1.391 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.149e-05/0.5705, allocations: 12 kB / 1.391 GB, free: 15.82 MB / 0.9011 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.00111/0.5716, allocations: 0.6109 MB / 1.391 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.5717, allocations: 12.56 kB / 1.391 GB, free: 15.15 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.089e-05/0.5718, allocations: 35.48 kB / 1.391 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007644/0.5726, allocations: 409.1 kB / 1.392 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.5726, allocations: 7.984 kB / 1.392 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.5727, allocations: 8 kB / 1.392 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003222/0.573, allocations: 110.9 kB / 1.392 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.573, allocations: 0 / 1.392 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.573, allocations: 3.984 kB / 1.392 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.5731, allocations: 4 kB / 1.392 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.5733, allocations: 67.89 kB / 1.392 GB, free: 14.47 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.5743, allocations: 0.5082 MB / 1.392 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.5747, allocations: 142.7 kB / 1.393 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.5747, allocations: 4 kB / 1.393 GB, free: 13.76 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002818/0.575, allocations: 122.9 kB / 1.393 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=13): time 3.858e-06/0.575, allocations: 0 / 1.393 GB, free: 13.63 MB / 0.9011 GB Notification: Performance of matching and sorting (n=13): time 0.0005986/0.5756, allocations: 225.3 kB / 1.393 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.5757, allocations: 59.39 kB / 1.393 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006541/0.5764, allocations: 480.6 kB / 1.393 GB, free: 12.86 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.5764, allocations: 33.7 kB / 1.393 GB, free: 12.82 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.5766, allocations: 168.4 kB / 1.394 GB, free: 12.65 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.5766, allocations: 35.77 kB / 1.394 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.766e-05/0.5766, allocations: 7.938 kB / 1.394 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5768, allocations: 350.8 kB / 1.394 GB, free: 12.25 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.5771, allocations: 116.5 kB / 1.394 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.5773, allocations: 151.6 kB / 1.394 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.5776, allocations: 128.4 kB / 1.394 GB, free: 11.86 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5776, allocations: 4 kB / 1.394 GB, free: 11.85 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006304/0.5782, allocations: 370 kB / 1.395 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.5783, allocations: 4 kB / 1.395 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.5783, allocations: 3.953 kB / 1.395 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.5783, allocations: 4 kB / 1.395 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002439/0.5785, allocations: 51.97 kB / 1.395 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.5786, allocations: 11.97 kB / 1.395 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.5787, allocations: 15.94 kB / 1.395 GB, free: 11.39 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.611e-05/0.5788, allocations: 19.98 kB / 1.395 GB, free: 11.38 MB / 0.9011 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 () * Number of clocked 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 0.0002083/0.579, allocations: 181.7 kB / 1.395 GB, free: 11.19 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.832e-05/0.5791, allocations: 35.53 kB / 1.395 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004367/0.5795, allocations: 204.7 kB / 1.395 GB, free: 10.94 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.5795, allocations: 11.89 kB / 1.395 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5795, allocations: 0 / 1.395 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.5795, allocations: 0 / 1.395 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.5799, allocations: 305.5 kB / 1.396 GB, free: 10.58 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.5799, allocations: 4 kB / 1.396 GB, free: 10.58 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.883e-05/0.58, allocations: 19.92 kB / 1.396 GB, free: 10.56 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.58, allocations: 0 / 1.396 GB, free: 10.56 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/0.58, allocations: 4 kB / 1.396 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.58, allocations: 0 / 1.396 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.58, allocations: 7.953 kB / 1.396 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.5804, allocations: 222.8 kB / 1.396 GB, free: 10.31 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.5806, allocations: 116.7 kB / 1.396 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.5806, allocations: 4 kB / 1.396 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.5807, allocations: 15.92 kB / 1.396 GB, free: 10.16 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/0.5808, allocations: 23.92 kB / 1.396 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.5808, allocations: 8 kB / 1.396 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003742/0.5812, allocations: 327.1 kB / 1.396 GB, free: 9.812 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5812, allocations: 0 / 1.396 GB, free: 9.812 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003363/0.5816, allocations: 75.84 kB / 1.396 GB, free: 9.738 MB / 0.9011 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) * Number of clocked states: 0 () * 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.00105/0.5826, allocations: 447.9 kB / 1.397 GB, free: 9.453 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0004595/0.5831, allocations: 199.8 kB / 1.397 GB, free: 9.258 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5831, allocations: 128 / 1.397 GB, free: 9.258 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.5833, allocations: 71.91 kB / 1.397 GB, free: 9.188 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.5837, allocations: 70.81 kB / 1.397 GB, free: 9.121 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.5848, allocations: 0.6035 MB / 1.398 GB, free: 8.488 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.5853, allocations: 0.7952 MB / 1.398 GB, free: 7.664 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001836/0.5855, allocations: 58.92 kB / 1.399 GB, free: 7.605 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.864e-05/0.5856, allocations: 35.42 kB / 1.399 GB, free: 7.574 MB / 0.9011 GB Notification: Performance of SimCode: time 6.21e-07/0.5856, allocations: 0 / 1.399 GB, free: 7.574 MB / 0.9011 GB Notification: Performance of Templates: time 0.008358/0.5939, allocations: 3.968 MB / 1.402 GB, free: 3.641 MB / 0.9011 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