Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.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.Continuous.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.546/2.546, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001192/0.001192, allocations: 180.8 kB / 498.1 MB, free: 5.723 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.572/1.572, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.001165/0.001164, allocations: 108.2 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003738, allocations: 12.12 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2771, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1899/0.4671, allocations: 153.5 MB / 1.373 GB, free: 8.543 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.4674, allocations: 79.95 kB / 1.373 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02135/0.4888, allocations: 7.715 MB / 1.38 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4888, allocations: 0 / 1.38 GB, free: 0.7422 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.363e-05/0.4888, allocations: 8 kB / 1.38 GB, free: 0.7344 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001007/0.4899, allocations: 0.5823 MB / 1.381 GB, free: 104 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.4899, allocations: 8.031 kB / 1.381 GB, free: 96 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.901e-05/0.49, allocations: 31.58 kB / 1.381 GB, free: 64 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006355/0.4906, allocations: 346.4 kB / 1.381 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.4907, allocations: 8.188 kB / 1.381 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.4907, allocations: 8 kB / 1.381 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.491, allocations: 136.5 kB / 1.381 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.4911, allocations: 0 / 1.381 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.4911, allocations: 7.984 kB / 1.382 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.4911, allocations: 4 kB / 1.382 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.4914, allocations: 108.5 kB / 1.382 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009475/0.4924, allocations: 0.509 MB / 1.382 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/0.4928, allocations: 142.6 kB / 1.382 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.4928, allocations: 4 kB / 1.382 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002919/0.4931, allocations: 107.3 kB / 1.382 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 1.944e-06/0.4931, allocations: 0 / 1.382 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0006931/0.4938, allocations: 233.4 kB / 1.383 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.4939, allocations: 51.62 kB / 1.383 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/0.4943, allocations: 342 kB / 1.383 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.354e-05/0.4943, allocations: 33.7 kB / 1.383 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.4945, allocations: 155.8 kB / 1.383 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.4945, allocations: 31.64 kB / 1.383 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.573e-05/0.4945, allocations: 0 / 1.383 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4947, allocations: 342.8 kB / 1.383 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.4949, allocations: 96.5 kB / 1.384 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.4952, allocations: 134.4 kB / 1.384 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.4954, allocations: 91.97 kB / 1.384 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4954, allocations: 0 / 1.384 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005645/0.496, allocations: 286.8 kB / 1.384 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.496, allocations: 4 kB / 1.384 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.496, allocations: 4 kB / 1.384 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.496, allocations: 4 kB / 1.384 GB, free: 12.75 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.4963, allocations: 44 kB / 1.384 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.4963, allocations: 0 / 1.384 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.4965, allocations: 27.88 kB / 1.384 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.4965, allocations: 15.94 kB / 1.384 GB, free: 12.67 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,gre.y,$PRE.greHys.greHys.y,greHys.greHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001663/0.4967, allocations: 162.5 kB / 1.384 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.4968, allocations: 31.7 kB / 1.384 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004809/0.4973, allocations: 183.4 kB / 1.385 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.4973, allocations: 3.984 kB / 1.385 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4973, allocations: 4 kB / 1.385 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.4973, allocations: 7.938 kB / 1.385 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.4976, allocations: 277.4 kB / 1.385 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4976, allocations: 0 / 1.385 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.4977, allocations: 23.98 kB / 1.385 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.4977, allocations: 3.984 kB / 1.385 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.4977, allocations: 0 / 1.385 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4978, allocations: 0 / 1.385 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4978, allocations: 4 kB / 1.385 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004361/0.4982, allocations: 212.6 kB / 1.385 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.163e-05/0.4983, allocations: 105.2 kB / 1.385 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.4984, allocations: 3.984 kB / 1.385 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.4985, allocations: 23.98 kB / 1.385 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.37e-05/0.4986, allocations: 27.91 kB / 1.385 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.4986, allocations: 11.92 kB / 1.385 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002282/0.4989, allocations: 233.9 kB / 1.385 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4989, allocations: 0 / 1.385 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002963/0.4992, allocations: 55.94 kB / 1.385 GB, free: 11.21 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,gre.y,greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (greHys.greHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001011/0.5002, allocations: 438.4 kB / 1.386 GB, free: 10.94 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004712/0.5007, allocations: 171.8 kB / 1.386 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5007, allocations: 3.938 kB / 1.386 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.5009, allocations: 75.97 kB / 1.386 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.5012, allocations: 58.06 kB / 1.386 GB, free: 10.64 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008862/0.5021, allocations: 496.7 kB / 1.387 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.5025, allocations: 0.756 MB / 1.387 GB, free: 9.344 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.5026, allocations: 37.94 kB / 1.387 GB, free: 9.309 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.984e-05/0.5027, allocations: 23.42 kB / 1.387 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of SimCode: time 6.41e-07/0.5027, allocations: 0 / 1.387 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of Templates: time 0.006923/0.5097, allocations: 3.243 MB / 1.391 GB, free: 6.066 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Greater.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,gre.u1,gre.u2,gre.y,greHys.y Variables in the result:gre.h,gre.have_hysteresis,gre.pre_y_start,gre.u1,gre.u2,gre.y,greHys.greHys.h,greHys.greHys.pre_y_start,greHys.greHys.y,greHys.h,greHys.have_hysteresis,greHys.pre_y_start,greHys.y,ram.extrapolation,ram.nT,ram.nout,ram.offset[1],ram.smoothness,ram.t0,ram.tab.columns[1],ram.tab.extrapolation,ram.tab.nout,ram.tab.offset[1],ram.tab.p_offset[1],ram.tab.shiftTime,ram.tab.smoothness,ram.tab.startTime,ram.tab.t_max,ram.tab.t_maxScaled,ram.tab.t_min,ram.tab.t_minScaled,ram.tab.tableOnFile,ram.tab.table[1,1],ram.tab.table[1,2],ram.tab.table[2,1],ram.tab.table[2,2],ram.tab.table[3,1],ram.tab.table[3,2],ram.tab.table[4,1],ram.tab.table[4,2],ram.tab.table[5,1],ram.tab.table[5,2],ram.tab.table[6,1],ram.tab.table[6,2],ram.tab.timeEvents,ram.tab.timeScale,ram.tab.verboseExtrapolation,ram.tab.verboseRead,ram.table[1,1],ram.table[1,2],ram.table[2,1],ram.table[2,2],ram.table[3,1],ram.table[3,2],ram.table[4,1],ram.table[4,2],ram.table[5,1],ram.table[5,2],ram.table[6,1],ram.table[6,2],ram.timeRange,ram.timeScale,ram1.duration,ram1.height,ram1.offset,ram1.startTime,rou.fac,rou.n,rou1.fac,rou1.n,time