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.00941/0.00941, allocations: 102.2 kB / 15.73 MB, free: 6.449 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.001829/0.001829, allocations: 199.3 kB / 16.68 MB, free: 6.352 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.465/1.465, allocations: 222.9 MB / 240.4 MB, free: 4.281 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.645/2.645, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 65.03 kB / 0.9509 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3905, allocations: 140.4 MB / 1.088 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.004083/0.3946, allocations: 2.019 MB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002124/0.3968, allocations: 1.15 MB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001906/0.397, allocations: 7.938 kB / 1.091 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004844/0.3975, allocations: 119.5 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.3979, allocations: 99.56 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.3984, allocations: 173.1 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003427/0.3987, allocations: 259.3 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002041/0.3989, allocations: 76.03 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.3991, allocations: 123.5 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001697/0.3993, allocations: 115.6 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/0.3994, allocations: 19.94 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.3995, allocations: 75.89 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.433e-05/0.3996, allocations: 59.83 kB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.3997, allocations: 99.34 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004266/0.4002, allocations: 326.6 kB / 1.093 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4002, allocations: 3.938 kB / 1.093 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4002, allocations: 4 kB / 1.093 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.4002, allocations: 0 / 1.093 GB, free: 12.81 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.001084/0.4013, allocations: 0.5838 MB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.492e-05/0.4014, allocations: 8.031 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.577e-05/0.4014, allocations: 28.75 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/0.4019, allocations: 328 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.4019, allocations: 11.94 kB / 1.094 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.402, allocations: 11.98 kB / 1.094 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003331/0.4023, allocations: 126.9 kB / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.4023, allocations: 0 / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.4023, allocations: 7.938 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.4024, allocations: 4 kB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.4027, allocations: 95.88 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008379/0.4035, allocations: 496.3 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000414/0.4039, allocations: 130.7 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.4041, allocations: 52.83 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.4041, allocations: 7.969 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002803/0.4044, allocations: 111.4 kB / 1.095 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.4044, allocations: 0 / 1.095 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.000674/0.4051, allocations: 213.3 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.4052, allocations: 55.39 kB / 1.095 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005254/0.4057, allocations: 374.9 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.4057, allocations: 25.7 kB / 1.095 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.4059, allocations: 148 kB / 1.095 GB, free: 9.832 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.4059, allocations: 31.78 kB / 1.095 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.571e-05/0.406, allocations: 53.64 kB / 1.095 GB, free: 9.742 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.4062, allocations: 338.8 kB / 1.096 GB, free: 9.402 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.4064, allocations: 75.95 kB / 1.096 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.4067, allocations: 100.7 kB / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/0.407, allocations: 151.4 kB / 1.096 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.4071, allocations: 0 / 1.096 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006097/0.4077, allocations: 241.4 kB / 1.096 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.4077, allocations: 4 kB / 1.096 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.4077, allocations: 8 kB / 1.096 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.4077, allocations: 0 / 1.096 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.408, allocations: 36 kB / 1.096 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.408, allocations: 4 kB / 1.096 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.4082, allocations: 27.86 kB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.4082, allocations: 8 kB / 1.096 GB, free: 8.746 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.0001773/0.4084, allocations: 157.7 kB / 1.096 GB, free: 8.582 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.4085, allocations: 23.86 kB / 1.096 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.866e-05/0.4085, allocations: 29.78 kB / 1.097 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.4085, allocations: 4 kB / 1.097 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.4086, allocations: 0 / 1.097 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4086, allocations: 0 / 1.097 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.4089, allocations: 281.8 kB / 1.097 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4089, allocations: 3.938 kB / 1.097 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.409, allocations: 15.98 kB / 1.097 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.409, allocations: 0 / 1.097 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.409, allocations: 11.94 kB / 1.097 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.261e-05/0.409, allocations: 0 / 1.097 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.409, allocations: 3.938 kB / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004428/0.4095, allocations: 188.8 kB / 1.097 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.346e-05/0.4096, allocations: 104.9 kB / 1.097 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.4096, allocations: 7.938 kB / 1.097 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.4098, allocations: 19.97 kB / 1.097 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.18e-05/0.4099, allocations: 23.95 kB / 1.097 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.4099, allocations: 8 kB / 1.097 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002911/0.4102, allocations: 237.9 kB / 1.097 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4102, allocations: 0 / 1.097 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002794/0.4105, allocations: 43.89 kB / 1.097 GB, free: 7.508 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.001059/0.4115, allocations: 417.8 kB / 1.098 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005042/0.4121, allocations: 161.2 kB / 1.098 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4121, allocations: 3.938 kB / 1.098 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.4123, allocations: 67.89 kB / 1.098 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.4127, allocations: 55.31 kB / 1.098 GB, free: 6.973 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009213/0.4136, allocations: 423.8 kB / 1.099 GB, free: 6.527 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.4141, allocations: 0.7594 MB / 1.099 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001521/0.4143, allocations: 37.92 kB / 1.099 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.384e-05/0.4144, allocations: 23.44 kB / 1.099 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of SimCode: time 2.71e-07/0.4144, allocations: 0 / 1.099 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of Templates: time 0.009379/0.4237, allocations: 3.505 MB / 1.103 GB, free: 2.203 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