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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.455/1.455, allocations: 251.9 MB / 266.9 MB, free: 10.98 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.001113/0.001113, allocations: 189.1 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.25/2.25, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.0008942/0.0008942, allocations: 85.8 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003676, allocations: 9.625 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2511, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1824/0.4336, allocations: 135.3 MB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.4339, allocations: 87.89 kB / 1.032 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02896/0.4629, allocations: 10.63 MB / 1.043 GB, free: 13.65 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.172e-06/0.463, allocations: 0 / 1.043 GB, free: 13.65 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.629e-05/0.463, allocations: 4 kB / 1.043 GB, free: 13.64 MB / 0.698 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.0009819/0.464, allocations: 0.5954 MB / 1.043 GB, free: 13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.464, allocations: 8.031 kB / 1.043 GB, free: 12.99 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.16e-05/0.4641, allocations: 35.53 kB / 1.043 GB, free: 12.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006178/0.4648, allocations: 377.2 kB / 1.044 GB, free: 12.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.4648, allocations: 8 kB / 1.044 GB, free: 12.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.4648, allocations: 8 kB / 1.044 GB, free: 12.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002447/0.4651, allocations: 116.3 kB / 1.044 GB, free: 12.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4651, allocations: 0 / 1.044 GB, free: 12.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.4651, allocations: 4 kB / 1.044 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.4651, allocations: 0 / 1.044 GB, free: 12.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.4653, allocations: 71.89 kB / 1.044 GB, free: 12.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007744/0.4661, allocations: 0.4965 MB / 1.044 GB, free: 11.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.4664, allocations: 138.7 kB / 1.045 GB, free: 11.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.4665, allocations: 4.219 kB / 1.045 GB, free: 11.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.4667, allocations: 117.8 kB / 1.045 GB, free: 11.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.4667, allocations: 0 / 1.045 GB, free: 11.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0005434/0.4673, allocations: 241.2 kB / 1.045 GB, free: 11.28 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.4673, allocations: 51.41 kB / 1.045 GB, free: 11.22 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005237/0.4678, allocations: 460.8 kB / 1.045 GB, free: 10.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.4679, allocations: 33.64 kB / 1.045 GB, free: 10.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.468, allocations: 176.3 kB / 1.046 GB, free: 10.55 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.468, allocations: 31.61 kB / 1.046 GB, free: 10.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-05/0.4681, allocations: 8 kB / 1.046 GB, free: 10.51 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.4682, allocations: 343.4 kB / 1.046 GB, free: 10.17 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.4684, allocations: 120.5 kB / 1.046 GB, free: 10.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.4686, allocations: 151.6 kB / 1.046 GB, free: 9.891 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.4689, allocations: 128 kB / 1.046 GB, free: 9.766 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4689, allocations: 0 / 1.046 GB, free: 9.766 MB / 0.698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005601/0.4695, allocations: 361.6 kB / 1.047 GB, free: 9.406 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.4695, allocations: 8 kB / 1.047 GB, free: 9.398 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4695, allocations: 0 / 1.047 GB, free: 9.398 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.4695, allocations: 0 / 1.047 GB, free: 9.398 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.4697, allocations: 47.97 kB / 1.047 GB, free: 9.352 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.4698, allocations: 7.891 kB / 1.047 GB, free: 9.344 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.4699, allocations: 31.89 kB / 1.047 GB, free: 9.312 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.47, allocations: 16 kB / 1.047 GB, free: 9.297 MB / 0.698 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.0001753/0.4702, allocations: 181.8 kB / 1.047 GB, free: 9.109 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.4702, allocations: 31.62 kB / 1.047 GB, free: 9.078 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004099/0.4706, allocations: 204.5 kB / 1.047 GB, free: 8.867 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.4706, allocations: 7.938 kB / 1.047 GB, free: 8.859 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.4707, allocations: 0 / 1.047 GB, free: 8.859 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.4707, allocations: 7.953 kB / 1.047 GB, free: 8.852 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.4709, allocations: 305.4 kB / 1.047 GB, free: 8.504 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.471, allocations: 0 / 1.047 GB, free: 8.504 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.579e-05/0.471, allocations: 15.98 kB / 1.047 GB, free: 8.488 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.4711, allocations: 0 / 1.047 GB, free: 8.488 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.4711, allocations: 4 kB / 1.048 GB, free: 8.484 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4711, allocations: 0 / 1.048 GB, free: 8.484 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4711, allocations: 3.938 kB / 1.048 GB, free: 8.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.4715, allocations: 226 kB / 1.048 GB, free: 8.242 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.4716, allocations: 116.7 kB / 1.048 GB, free: 8.109 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.4716, allocations: 7.984 kB / 1.048 GB, free: 8.102 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.4717, allocations: 8 kB / 1.048 GB, free: 8.094 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.852e-05/0.4718, allocations: 19.97 kB / 1.048 GB, free: 8.074 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.4718, allocations: 4 kB / 1.048 GB, free: 8.07 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003205/0.4721, allocations: 311.1 kB / 1.048 GB, free: 7.766 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4722, allocations: 0 / 1.048 GB, free: 7.766 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003108/0.4725, allocations: 71.92 kB / 1.048 GB, free: 7.695 MB / 0.698 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.0009926/0.4735, allocations: 441.4 kB / 1.049 GB, free: 7.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004046/0.4739, allocations: 195.8 kB / 1.049 GB, free: 7.219 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4739, allocations: 0 / 1.049 GB, free: 7.219 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.474, allocations: 71.91 kB / 1.049 GB, free: 7.148 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.4745, allocations: 80.02 kB / 1.049 GB, free: 7.078 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000918/0.4754, allocations: 0.5921 MB / 1.05 GB, free: 6.465 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.4758, allocations: 0.7913 MB / 1.05 GB, free: 5.645 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001625/0.4759, allocations: 58.91 kB / 1.05 GB, free: 5.586 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.976e-05/0.476, allocations: 35.36 kB / 1.05 GB, free: 5.551 MB / 0.698 GB Notification: Performance of SimCode: time 1.723e-06/0.476, allocations: 0 / 1.05 GB, free: 5.551 MB / 0.698 GB Notification: Performance of Templates: time 0.007183/0.4832, allocations: 3.773 MB / 1.054 GB, free: 1.809 MB / 0.698 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