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.285/2.285, allocations: 387.1 MB / 399.7 MB, free: 9.488 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.001012/0.001012, allocations: 168.9 kB / 492.3 MB, free: 0.6094 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.554/1.554, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0008212/0.0008212, allocations: 90.02 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.463e-05/3.468e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3137, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.067/1.38, allocations: 153.4 MB / 1.362 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/1.381, allocations: 77.45 kB / 1.362 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01931/1.4, allocations: 7.695 MB / 1.37 GB, free: 34.33 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.422e-06/1.4, allocations: 4 kB / 1.37 GB, free: 34.32 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.214e-05/1.4, allocations: 4.062 kB / 1.37 GB, free: 34.32 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.000718/1.401, allocations: 0.522 MB / 1.37 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/1.401, allocations: 15.69 kB / 1.37 GB, free: 33.88 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.728e-05/1.401, allocations: 23.25 kB / 1.37 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005288/1.401, allocations: 352.4 kB / 1.371 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/1.401, allocations: 7.75 kB / 1.371 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/1.401, allocations: 14.91 kB / 1.371 GB, free: 33.63 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/1.402, allocations: 114.6 kB / 1.371 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.402, allocations: 4 kB / 1.371 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/1.402, allocations: 3.438 kB / 1.371 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.402, allocations: 3.875 kB / 1.371 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/1.402, allocations: 66.62 kB / 1.371 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007745/1.403, allocations: 0.5075 MB / 1.371 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/1.403, allocations: 128.4 kB / 1.372 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.536e-05/1.403, allocations: 39.64 kB / 1.372 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/1.403, allocations: 0 / 1.372 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/1.403, allocations: 96.09 kB / 1.372 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/1.403, allocations: 3.938 kB / 1.372 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002805/1.403, allocations: 134.8 kB / 1.372 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/1.404, allocations: 55.31 kB / 1.372 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/1.404, allocations: 344.7 kB / 1.372 GB, free: 33 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/1.404, allocations: 25.7 kB / 1.372 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.068e-05/1.404, allocations: 151.9 kB / 1.372 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/1.404, allocations: 29.59 kB / 1.372 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.282e-05/1.404, allocations: 3.188 kB / 1.372 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001169/1.404, allocations: 341 kB / 1.373 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/1.404, allocations: 74.06 kB / 1.373 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/1.404, allocations: 112.3 kB / 1.373 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/1.405, allocations: 76.84 kB / 1.373 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.405, allocations: 0 / 1.373 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003128/1.405, allocations: 243.5 kB / 1.373 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/1.405, allocations: 5.375 kB / 1.373 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/1.405, allocations: 4 kB / 1.373 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/1.405, allocations: 3.938 kB / 1.373 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/1.405, allocations: 40.84 kB / 1.373 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.617e-06/1.405, allocations: 4.062 kB / 1.373 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/1.405, allocations: 25.44 kB / 1.373 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/1.405, allocations: 13.5 kB / 1.373 GB, free: 32.45 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 7.605e-05/1.405, allocations: 113.2 kB / 1.373 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/1.405, allocations: 22.91 kB / 1.373 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/1.406, allocations: 173.4 kB / 1.374 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/1.406, allocations: 0 / 1.374 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.406, allocations: 3.812 kB / 1.374 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/1.406, allocations: 0 / 1.374 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/1.406, allocations: 274.6 kB / 1.374 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/1.406, allocations: 7.797 kB / 1.374 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/1.406, allocations: 17.05 kB / 1.374 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/1.406, allocations: 0 / 1.374 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/1.406, allocations: 3.969 kB / 1.374 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/1.406, allocations: 4 kB / 1.374 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/1.406, allocations: 0 / 1.374 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002182/1.406, allocations: 172.5 kB / 1.374 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.419e-05/1.406, allocations: 110.4 kB / 1.374 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.352e-05/1.406, allocations: 3.281 kB / 1.374 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/1.407, allocations: 29.45 kB / 1.374 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.56e-05/1.407, allocations: 27.47 kB / 1.374 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/1.407, allocations: 6.844 kB / 1.374 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002137/1.407, allocations: 231.9 kB / 1.374 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.407, allocations: 0 / 1.374 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002698/1.407, allocations: 59.98 kB / 1.375 GB, free: 31.77 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.0009198/1.408, allocations: 395.7 kB / 1.375 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002513/1.408, allocations: 134.9 kB / 1.375 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.408, allocations: 3.938 kB / 1.375 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.28e-05/1.408, allocations: 52.25 kB / 1.375 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/1.409, allocations: 43.95 kB / 1.375 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000546/1.409, allocations: 335.1 kB / 1.375 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/1.41, allocations: 0.7599 MB / 1.376 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001175/1.41, allocations: 39.64 kB / 1.376 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.976e-05/1.41, allocations: 29.09 kB / 1.376 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of SimCode: time 4.31e-07/1.41, allocations: 0 / 1.376 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of Templates: time 0.006126/1.416, allocations: 3.26 MB / 1.379 GB, free: 30.46 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