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.009595/0.009595, allocations: 102.2 kB / 15.73 MB, free: 6.477 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.001773/0.001773, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.512/1.512, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.538/2.538, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 65.77 kB / 0.9509 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4013, 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.004293/0.4057, allocations: 2.023 MB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.408, allocations: 1.154 MB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.4082, allocations: 7.938 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006644/0.4089, allocations: 115.5 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003569/0.4093, allocations: 103.6 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005319/0.4098, allocations: 171.5 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004074/0.4103, allocations: 255.3 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/0.4105, allocations: 76.02 kB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.4108, allocations: 119.5 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.4109, allocations: 111.6 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.411, allocations: 16 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.4112, allocations: 75.91 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.4113, allocations: 71.73 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.4114, allocations: 99.34 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005122/0.412, allocations: 318.8 kB / 1.093 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.412, allocations: 4 kB / 1.093 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.534e-06/0.412, allocations: 0 / 1.093 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.412, allocations: 0 / 1.093 GB, free: 12.71 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.001305/0.4133, allocations: 0.5742 MB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.615e-05/0.4134, allocations: 12.03 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.4135, allocations: 28.56 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005666/0.4141, allocations: 331.7 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.4141, allocations: 15.94 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.4142, allocations: 11.98 kB / 1.094 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.4146, allocations: 130.7 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.4146, allocations: 0 / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.4146, allocations: 4 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.4146, allocations: 0 / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.415, allocations: 99.86 kB / 1.094 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.416, allocations: 488.3 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.4165, allocations: 130.7 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.4167, allocations: 56.81 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.4167, allocations: 3.938 kB / 1.094 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000328/0.4171, allocations: 107.5 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.4171, allocations: 0 / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0007227/0.4178, allocations: 217.2 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.4179, allocations: 55.41 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004317/0.4183, allocations: 362.9 kB / 1.095 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.4184, allocations: 33.7 kB / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.4185, allocations: 151.8 kB / 1.095 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.4185, allocations: 31.61 kB / 1.095 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.501e-05/0.4186, allocations: 49.69 kB / 1.095 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.4188, allocations: 338.8 kB / 1.096 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.419, allocations: 75.95 kB / 1.096 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.4193, allocations: 104.9 kB / 1.096 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003548/0.4196, allocations: 145.5 kB / 1.096 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4196, allocations: 0 / 1.096 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005224/0.4202, allocations: 247.3 kB / 1.096 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.4202, allocations: 5.562 kB / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.4202, allocations: 0 / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.4202, allocations: 0 / 1.096 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.4204, allocations: 39.91 kB / 1.096 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.4205, allocations: 0 / 1.096 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.4206, allocations: 35.84 kB / 1.096 GB, free: 8.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.4207, allocations: 4 kB / 1.096 GB, free: 8.656 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.0001941/0.4209, allocations: 157.7 kB / 1.096 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.4209, allocations: 23.72 kB / 1.096 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.724e-05/0.421, allocations: 29.78 kB / 1.096 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.421, allocations: 4 kB / 1.096 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.421, allocations: 0 / 1.096 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.421, allocations: 7.984 kB / 1.097 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.4213, allocations: 273.5 kB / 1.097 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4213, allocations: 0 / 1.097 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.4214, allocations: 15.98 kB / 1.097 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.4214, allocations: 0 / 1.097 GB, free: 8.094 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.4215, allocations: 4 kB / 1.097 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.4215, allocations: 3.938 kB / 1.097 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4215, allocations: 0 / 1.097 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004395/0.4219, allocations: 196.6 kB / 1.097 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-05/0.422, allocations: 104.7 kB / 1.097 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.36e-05/0.4221, allocations: 15.98 kB / 1.097 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.4222, allocations: 11.98 kB / 1.097 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/0.4223, allocations: 27.95 kB / 1.097 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.4223, allocations: 4 kB / 1.097 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002489/0.4226, allocations: 237.9 kB / 1.097 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4226, allocations: 0 / 1.097 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002917/0.4229, allocations: 43.91 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.001116/0.424, allocations: 411.8 kB / 1.098 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004675/0.4245, allocations: 151.8 kB / 1.098 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4245, allocations: 4.062 kB / 1.098 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.4247, allocations: 63.91 kB / 1.098 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.4251, allocations: 70.19 kB / 1.098 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008499/0.426, allocations: 420.5 kB / 1.098 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.4263, allocations: 0.7554 MB / 1.099 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001082/0.4265, allocations: 37.94 kB / 1.099 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.239e-05/0.4265, allocations: 31.36 kB / 1.099 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.4266, allocations: 0 / 1.099 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of Templates: time 0.008123/0.4347, allocations: 3.5 MB / 1.103 GB, free: 2.125 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