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.323/2.323, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001597/0.001597, allocations: 187.9 kB / 0.4902 GB, free: 2.258 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.605/1.605, allocations: 223.1 MB / 0.7992 GB, free: 14.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.0009475/0.0009472, allocations: 96.16 kB / 0.9396 GB, free: 1.895 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.000332, allocations: 13.69 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3113, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.202/0.5134, allocations: 154.3 MB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.5138, allocations: 87.95 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02369/0.5375, allocations: 7.72 MB / 1.388 GB, free: 7.402 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.445e-06/0.5375, allocations: 0 / 1.388 GB, free: 7.402 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.108e-05/0.5376, allocations: 4 kB / 1.388 GB, free: 7.398 MB / 0.8855 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.001336/0.5389, allocations: 0.5883 MB / 1.388 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.539, allocations: 8.562 kB / 1.388 GB, free: 6.746 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.5391, allocations: 31.58 kB / 1.388 GB, free: 6.715 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007755/0.5399, allocations: 334.6 kB / 1.388 GB, free: 6.348 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.5399, allocations: 8.188 kB / 1.388 GB, free: 6.34 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.54, allocations: 16 kB / 1.388 GB, free: 6.324 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003827/0.5404, allocations: 131.1 kB / 1.389 GB, free: 6.191 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.5404, allocations: 0 / 1.389 GB, free: 6.191 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.5404, allocations: 0 / 1.389 GB, free: 6.191 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.5404, allocations: 4 kB / 1.389 GB, free: 6.188 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003494/0.5408, allocations: 112.4 kB / 1.389 GB, free: 6.078 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.5419, allocations: 0.5128 MB / 1.389 GB, free: 5.516 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.5424, allocations: 150.6 kB / 1.389 GB, free: 5.359 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.5424, allocations: 4 kB / 1.389 GB, free: 5.355 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003159/0.5427, allocations: 111.5 kB / 1.389 GB, free: 5.234 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 2.866e-06/0.5428, allocations: 4 kB / 1.389 GB, free: 5.23 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0007202/0.5435, allocations: 225.2 kB / 1.39 GB, free: 5.004 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.5436, allocations: 55.78 kB / 1.39 GB, free: 4.938 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004746/0.544, allocations: 346 kB / 1.39 GB, free: 4.594 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.5441, allocations: 25.7 kB / 1.39 GB, free: 4.562 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.5442, allocations: 148 kB / 1.39 GB, free: 4.414 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.5443, allocations: 43.47 kB / 1.39 GB, free: 4.371 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/0.5443, allocations: 4 kB / 1.39 GB, free: 4.367 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.5444, allocations: 334.8 kB / 1.391 GB, free: 4.031 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.5447, allocations: 100.5 kB / 1.391 GB, free: 3.934 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.545, allocations: 129.4 kB / 1.391 GB, free: 3.801 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.5453, allocations: 99.98 kB / 1.391 GB, free: 3.703 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5453, allocations: 0 / 1.391 GB, free: 3.703 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006523/0.546, allocations: 282.6 kB / 1.391 GB, free: 3.422 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.546, allocations: 4 kB / 1.391 GB, free: 3.418 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.546, allocations: 0 / 1.391 GB, free: 3.418 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.546, allocations: 8.031 kB / 1.391 GB, free: 3.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.5463, allocations: 39.91 kB / 1.391 GB, free: 3.371 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.5463, allocations: 0 / 1.391 GB, free: 3.371 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.5465, allocations: 31.88 kB / 1.391 GB, free: 3.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.5465, allocations: 8 kB / 1.391 GB, free: 3.332 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.000207/0.5468, allocations: 161.8 kB / 1.391 GB, free: 3.164 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.12e-05/0.5468, allocations: 23.72 kB / 1.391 GB, free: 3.141 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005276/0.5474, allocations: 195.2 kB / 1.392 GB, free: 2.941 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.5474, allocations: 4 kB / 1.392 GB, free: 2.938 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5474, allocations: 0 / 1.392 GB, free: 2.938 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.5474, allocations: 4 kB / 1.392 GB, free: 2.934 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003392/0.5477, allocations: 277.5 kB / 1.392 GB, free: 2.613 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.5477, allocations: 0 / 1.392 GB, free: 2.613 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.5479, allocations: 19.98 kB / 1.392 GB, free: 2.594 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.5479, allocations: 0 / 1.392 GB, free: 2.594 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.5479, allocations: 4 kB / 1.392 GB, free: 2.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.5479, allocations: 3.984 kB / 1.392 GB, free: 2.586 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5479, allocations: 0 / 1.392 GB, free: 2.586 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004787/0.5484, allocations: 208.7 kB / 1.392 GB, free: 2.363 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.5486, allocations: 116.7 kB / 1.392 GB, free: 2.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/0.5486, allocations: 0 / 1.392 GB, free: 2.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.5488, allocations: 31.97 kB / 1.392 GB, free: 2.199 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/0.5489, allocations: 19.97 kB / 1.392 GB, free: 2.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.5489, allocations: 4 kB / 1.392 GB, free: 2.176 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002883/0.5492, allocations: 233.9 kB / 1.393 GB, free: 1.949 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.1e-07/0.5492, allocations: 0 / 1.393 GB, free: 1.949 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004017/0.5496, allocations: 67.83 kB / 1.393 GB, free: 1.883 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.001184/0.5508, allocations: 438.5 kB / 1.393 GB, free: 1.605 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005341/0.5513, allocations: 168.9 kB / 1.393 GB, free: 1.441 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.5514, allocations: 8.062 kB / 1.393 GB, free: 1.434 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.5516, allocations: 67.89 kB / 1.393 GB, free: 1.367 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.5519, allocations: 54.55 kB / 1.393 GB, free: 1.312 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009186/0.5529, allocations: 488.8 kB / 1.394 GB, free: 0.8047 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000432/0.5533, allocations: 0.7638 MB / 1.395 GB, free: 12 kB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001667/0.5535, allocations: 41.84 kB / 1.395 GB, free: 15.97 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.131e-05/0.5536, allocations: 27.44 kB / 1.395 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of SimCode: time 3.71e-07/0.5536, allocations: 0 / 1.395 GB, free: 15.95 MB / 0.9011 GB Notification: Performance of Templates: time 0.008119/0.5617, allocations: 3.24 MB / 1.398 GB, free: 12.73 MB / 0.9011 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