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.256/2.256, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001139/0.001139, allocations: 176.8 kB / 487.4 MB, free: 5.059 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.463/1.463, allocations: 221.5 MB / 0.7824 GB, free: 1.012 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.0009775/0.0009775, allocations: 91.73 kB / 0.9219 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.944e-05/2.946e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.307, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.089/1.396, allocations: 152.8 MB / 1.355 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/1.396, allocations: 79.53 kB / 1.355 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02244/1.418, allocations: 7.633 MB / 1.363 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.653e-06/1.419, allocations: 0 / 1.363 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.499e-05/1.419, allocations: 4.125 kB / 1.363 GB, free: 33.54 MB / 0.8386 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.0008834/1.419, allocations: 0.5322 MB / 1.363 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/1.42, allocations: 8.344 kB / 1.363 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.158e-05/1.42, allocations: 27.28 kB / 1.363 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006157/1.42, allocations: 341.5 kB / 1.364 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/1.42, allocations: 6.281 kB / 1.364 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/1.42, allocations: 7.781 kB / 1.364 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000179/1.42, allocations: 80.2 kB / 1.364 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/1.421, allocations: 100.1 kB / 1.364 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/1.421, allocations: 0 / 1.364 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/1.421, allocations: 0 / 1.364 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/1.421, allocations: 0 / 1.364 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009245/1.422, allocations: 485.4 kB / 1.364 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/1.422, allocations: 121.5 kB / 1.364 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.161e-05/1.422, allocations: 38.3 kB / 1.364 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/1.422, allocations: 0 / 1.364 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001849/1.422, allocations: 91.34 kB / 1.364 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/1.422, allocations: 0 / 1.364 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0003227/1.423, allocations: 129.3 kB / 1.365 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/1.423, allocations: 59.25 kB / 1.365 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003805/1.423, allocations: 325.5 kB / 1.365 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/1.423, allocations: 25.7 kB / 1.365 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/1.423, allocations: 150 kB / 1.365 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/1.423, allocations: 32.34 kB / 1.365 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/1.423, allocations: 0 / 1.365 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000169/1.423, allocations: 337 kB / 1.365 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/1.424, allocations: 75.17 kB / 1.366 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/1.424, allocations: 100.2 kB / 1.366 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000218/1.424, allocations: 87.48 kB / 1.366 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.424, allocations: 3.906 kB / 1.366 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000357/1.424, allocations: 234.4 kB / 1.366 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/1.424, allocations: 6.031 kB / 1.366 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.424, allocations: 0 / 1.366 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/1.424, allocations: 3.844 kB / 1.366 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/1.425, allocations: 47.8 kB / 1.366 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/1.425, allocations: 0 / 1.366 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/1.425, allocations: 22.73 kB / 1.366 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/1.425, allocations: 10.66 kB / 1.366 GB, free: 31.71 MB / 0.8386 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 () * 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.0001101/1.425, allocations: 109.9 kB / 1.366 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/1.425, allocations: 31.3 kB / 1.366 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/1.425, allocations: 158.6 kB / 1.366 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/1.425, allocations: 0 / 1.366 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.425, allocations: 0 / 1.366 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.425, allocations: 0 / 1.366 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/1.425, allocations: 245.2 kB / 1.367 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.425, allocations: 0 / 1.367 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/1.426, allocations: 20.92 kB / 1.367 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.426, allocations: 7.984 kB / 1.367 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/1.426, allocations: 9.938 kB / 1.367 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.426, allocations: 0 / 1.367 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.426, allocations: 3.844 kB / 1.367 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/1.426, allocations: 164.2 kB / 1.367 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.595e-05/1.426, allocations: 102.8 kB / 1.367 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.807e-05/1.426, allocations: 0 / 1.367 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/1.426, allocations: 29.23 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/1.426, allocations: 19.09 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/1.426, allocations: 10.89 kB / 1.367 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002048/1.426, allocations: 220.2 kB / 1.367 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.426, allocations: 0 / 1.367 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002664/1.427, allocations: 59.8 kB / 1.367 GB, free: 31.07 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: 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) * 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.0008535/1.428, allocations: 365.5 kB / 1.368 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002309/1.428, allocations: 128.4 kB / 1.368 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.428, allocations: 3.938 kB / 1.368 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.19e-05/1.428, allocations: 46.61 kB / 1.368 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/1.428, allocations: 48.88 kB / 1.368 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005647/1.429, allocations: 312.9 kB / 1.368 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/1.429, allocations: 0.7658 MB / 1.369 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001195/1.429, allocations: 36.06 kB / 1.369 GB, free: 30 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.785e-05/1.429, allocations: 22.03 kB / 1.369 GB, free: 30 MB / 0.8386 GB Notification: Performance of SimCode: time 4.11e-07/1.429, allocations: 0 / 1.369 GB, free: 30 MB / 0.8386 GB Notification: Performance of Templates: time 0.006432/1.436, allocations: 3.051 MB / 1.372 GB, free: 29.75 MB / 0.8386 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