Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.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.Continuous.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.181/2.181, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001429/0.001429, allocations: 176.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.0009715/0.0009718, allocations: 92 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.041e-05/5.045e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3485, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.123/1.471, allocations: 154.3 MB / 1.369 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/1.472, allocations: 75.64 kB / 1.369 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02076/1.493, allocations: 7.695 MB / 1.377 GB, free: 9.238 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.533e-06/1.493, allocations: 4 kB / 1.377 GB, free: 9.234 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.072e-05/1.493, allocations: 4 kB / 1.377 GB, free: 9.23 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.0008463/1.493, allocations: 0.5206 MB / 1.378 GB, free: 8.676 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/1.494, allocations: 20.02 kB / 1.378 GB, free: 8.656 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.201e-05/1.494, allocations: 27.67 kB / 1.378 GB, free: 8.629 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006567/1.494, allocations: 339.2 kB / 1.378 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/1.494, allocations: 7.375 kB / 1.378 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/1.494, allocations: 11.81 kB / 1.378 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/1.495, allocations: 110.1 kB / 1.378 GB, free: 8.188 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/1.495, allocations: 8 kB / 1.378 GB, free: 8.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/1.495, allocations: 3.438 kB / 1.378 GB, free: 8.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.495, allocations: 0 / 1.378 GB, free: 8.18 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/1.495, allocations: 72.62 kB / 1.378 GB, free: 8.133 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009735/1.496, allocations: 0.5162 MB / 1.379 GB, free: 7.645 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/1.496, allocations: 117.5 kB / 1.379 GB, free: 7.551 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.377e-05/1.496, allocations: 45.59 kB / 1.379 GB, free: 7.516 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/1.496, allocations: 0 / 1.379 GB, free: 7.516 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/1.496, allocations: 99.62 kB / 1.379 GB, free: 7.422 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/1.496, allocations: 0 / 1.379 GB, free: 7.422 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0003394/1.497, allocations: 133.5 kB / 1.379 GB, free: 7.309 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/1.497, allocations: 54.66 kB / 1.379 GB, free: 7.246 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003965/1.497, allocations: 344 kB / 1.379 GB, free: 6.965 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/1.497, allocations: 33.33 kB / 1.379 GB, free: 6.93 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/1.497, allocations: 147.6 kB / 1.38 GB, free: 6.816 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/1.497, allocations: 37.97 kB / 1.38 GB, free: 6.785 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/1.497, allocations: 0 / 1.38 GB, free: 6.785 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001502/1.498, allocations: 344 kB / 1.38 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/1.498, allocations: 74.3 kB / 1.38 GB, free: 6.406 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/1.498, allocations: 105 kB / 1.38 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/1.498, allocations: 86.06 kB / 1.38 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/1.498, allocations: 0 / 1.38 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003843/1.498, allocations: 238.4 kB / 1.38 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.498, allocations: 4 kB / 1.38 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.498, allocations: 4 kB / 1.38 GB, free: 6.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/1.499, allocations: 3.938 kB / 1.38 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/1.499, allocations: 39.34 kB / 1.38 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/1.499, allocations: 4.031 kB / 1.38 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/1.499, allocations: 27.11 kB / 1.38 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/1.499, allocations: 7.984 kB / 1.38 GB, free: 5.996 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.0001029/1.499, allocations: 118.9 kB / 1.381 GB, free: 5.879 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/1.499, allocations: 23.72 kB / 1.381 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003275/1.499, allocations: 162.3 kB / 1.381 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/1.499, allocations: 0 / 1.381 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.499, allocations: 0 / 1.381 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.5, allocations: 0 / 1.381 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/1.5, allocations: 286.4 kB / 1.381 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.5, allocations: 96 / 1.381 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/1.5, allocations: 19.92 kB / 1.381 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/1.5, allocations: 4 kB / 1.381 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/1.5, allocations: 0 / 1.381 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/1.5, allocations: 11.92 kB / 1.381 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.5, allocations: 3.984 kB / 1.381 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/1.5, allocations: 169.6 kB / 1.381 GB, free: 5.242 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-05/1.5, allocations: 104.7 kB / 1.381 GB, free: 5.121 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/1.5, allocations: 7.875 kB / 1.381 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/1.501, allocations: 23.97 kB / 1.381 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/1.501, allocations: 22.59 kB / 1.381 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/1.501, allocations: 7.984 kB / 1.381 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002266/1.501, allocations: 233.7 kB / 1.382 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.501, allocations: 0 / 1.382 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002773/1.501, allocations: 55.78 kB / 1.382 GB, free: 4.836 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.0009385/1.502, allocations: 399.3 kB / 1.382 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002868/1.502, allocations: 133.9 kB / 1.382 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.502, allocations: 0 / 1.382 GB, free: 4.473 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/1.503, allocations: 57.48 kB / 1.382 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/1.503, allocations: 48.84 kB / 1.382 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006897/1.504, allocations: 324.4 kB / 1.383 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/1.504, allocations: 0.77 MB / 1.383 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001413/1.504, allocations: 34.08 kB / 1.383 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.527e-05/1.504, allocations: 26.86 kB / 1.383 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of SimCode: time 8.71e-07/1.504, allocations: 0 / 1.383 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of Templates: time 0.008113/1.512, allocations: 3.265 MB / 1.387 GB, free: 20 kB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Continuous_Validation_Greater.csv","../files/Buildings_latest_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