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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008957/0.008957, allocations: 101.1 kB / 15.73 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 197 kB / 16.68 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.747/2.747, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 61.09 kB / 0.9509 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3519, allocations: 140.4 MB / 1.088 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.004077/0.356, allocations: 2.022 MB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002199/0.3583, allocations: 1.15 MB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000217/0.3585, allocations: 7.938 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005248/0.3591, allocations: 123.5 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004136/0.3595, allocations: 103.5 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005877/0.3601, allocations: 169.8 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004911/0.3606, allocations: 255.3 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/0.3609, allocations: 84 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002524/0.3611, allocations: 115.5 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.3613, allocations: 123.5 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.552e-05/0.3614, allocations: 16 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.3616, allocations: 67.91 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.3617, allocations: 71.75 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.3619, allocations: 103.3 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004882/0.3624, allocations: 326.8 kB / 1.093 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3624, allocations: 3.938 kB / 1.093 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3624, allocations: 0 / 1.093 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.3624, allocations: 0 / 1.093 GB, free: 12.69 MB / 0.8575 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.00136/0.3638, allocations: 0.5763 MB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.3638, allocations: 8.031 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.3639, allocations: 28.56 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005138/0.3645, allocations: 323.8 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.3645, allocations: 11.94 kB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.091e-05/0.3645, allocations: 12 kB / 1.094 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.3649, allocations: 122.9 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.365, allocations: 0 / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.365, allocations: 0 / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.365, allocations: 4 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003461/0.3653, allocations: 103.8 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.3664, allocations: 496.3 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.3668, allocations: 126.7 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/0.367, allocations: 60.77 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.367, allocations: 0 / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003015/0.3673, allocations: 107.5 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.864e-06/0.3674, allocations: 0 / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0007319/0.3681, allocations: 209.2 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.3682, allocations: 51.41 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004532/0.3686, allocations: 378.8 kB / 1.095 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/0.3687, allocations: 29.7 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.3688, allocations: 155.9 kB / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.12e-05/0.3689, allocations: 27.61 kB / 1.095 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.912e-05/0.3689, allocations: 46.08 kB / 1.095 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3691, allocations: 334.8 kB / 1.096 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.3694, allocations: 83.89 kB / 1.096 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.3696, allocations: 100.7 kB / 1.096 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.37, allocations: 155.4 kB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.37, allocations: 0 / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005654/0.3706, allocations: 246.9 kB / 1.096 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.3706, allocations: 5.406 kB / 1.096 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.3706, allocations: 4 kB / 1.096 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.3707, allocations: 4.031 kB / 1.096 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.3709, allocations: 35.91 kB / 1.096 GB, free: 8.684 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.3709, allocations: 4 kB / 1.096 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.3711, allocations: 23.83 kB / 1.096 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.3711, allocations: 11.98 kB / 1.096 GB, free: 8.645 MB / 0.8575 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 ($PRE.ram.tab.nextTimeEvent,$whenCondition1,ram.tab.nextTimeEventScaled,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEvent,greHys.greHys.y,$PRE.greHys.greHys.y,gre.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001805/0.3713, allocations: 157.8 kB / 1.096 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/0.3714, allocations: 23.72 kB / 1.096 GB, free: 8.457 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.518e-05/0.3715, allocations: 29.78 kB / 1.097 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.3715, allocations: 0 / 1.097 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.3715, allocations: 0 / 1.097 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3715, allocations: 0 / 1.097 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.3719, allocations: 277.5 kB / 1.097 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3719, allocations: 0 / 1.097 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.372, allocations: 19.92 kB / 1.097 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.372, allocations: 0 / 1.097 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.372, allocations: 7.984 kB / 1.097 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3721, allocations: 0 / 1.097 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3721, allocations: 4 kB / 1.097 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004876/0.3726, allocations: 192.7 kB / 1.097 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.3727, allocations: 104.8 kB / 1.097 GB, free: 7.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.729e-05/0.3727, allocations: 4 kB / 1.097 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.3729, allocations: 19.97 kB / 1.097 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.373, allocations: 15.98 kB / 1.097 GB, free: 7.707 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.373, allocations: 11.92 kB / 1.097 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000308/0.3734, allocations: 237.9 kB / 1.097 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3734, allocations: 0 / 1.097 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003503/0.3737, allocations: 43.89 kB / 1.097 GB, free: 7.422 MB / 0.8575 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 (ram.tab.nextTimeEventScaled,greHys.greHys.y,ram.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001222/0.375, allocations: 413.9 kB / 1.098 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004774/0.3754, allocations: 163.8 kB / 1.098 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3755, allocations: 3.938 kB / 1.098 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.3756, allocations: 59.95 kB / 1.098 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.3761, allocations: 60.91 kB / 1.098 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009898/0.3771, allocations: 428.3 kB / 1.098 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.3775, allocations: 0.7515 MB / 1.099 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001694/0.3776, allocations: 33.95 kB / 1.099 GB, free: 5.625 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001061/0.3778, allocations: 31.42 kB / 1.099 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of SimCode: time 5.31e-07/0.3778, allocations: 0 / 1.099 GB, free: 5.594 MB / 0.8575 GB Notification: Performance of Templates: time 0.009175/0.3869, allocations: 3.502 MB / 1.103 GB, free: 2.121 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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,rou.y,rou1.fac,rou1.n,rou1.y,time