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.001259/0.001259, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001304/0.001304, allocations: 195.6 kB / 16.14 MB, free: 6.648 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.491/1.491, allocations: 222.9 MB / 239.8 MB, free: 4.598 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.679/2.679, allocations: 390.2 MB / 0.6642 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.91 kB / 0.8119 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9303/0.9318, allocations: 140.4 MB / 0.9489 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.003675/0.9355, allocations: 2.074 MB / 0.951 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002532/0.9381, allocations: 1.139 MB / 0.9521 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002991/0.9384, allocations: 3.031 kB / 0.9521 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006308/0.9391, allocations: 104.5 kB / 0.9522 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003363/0.9395, allocations: 104 kB / 0.9523 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006523/0.9401, allocations: 141.1 kB / 0.9524 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004107/0.9406, allocations: 245.2 kB / 0.9526 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/0.9408, allocations: 73.61 kB / 0.9527 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.9411, allocations: 99.78 kB / 0.9528 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001896/0.9412, allocations: 112.3 kB / 0.9529 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.205e-05/0.9413, allocations: 11.5 kB / 0.9529 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002511/0.9416, allocations: 60.22 kB / 0.953 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.9417, allocations: 69.86 kB / 0.9531 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.9418, allocations: 91.56 kB / 0.9531 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004557/0.9423, allocations: 306 kB / 0.9534 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.9423, allocations: 1.375 kB / 0.9534 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.133e-06/0.9423, allocations: 0 / 0.9534 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.9423, allocations: 0 / 0.9534 GB, free: 5.816 MB / 0.7169 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.001122/0.9435, allocations: 0.582 MB / 0.954 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.9435, allocations: 10.19 kB / 0.954 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.589e-05/0.9436, allocations: 28.59 kB / 0.954 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.944, allocations: 309.1 kB / 0.9543 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.944, allocations: 9.281 kB / 0.9543 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.9441, allocations: 9.812 kB / 0.9543 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003422/0.9444, allocations: 132.1 kB / 0.9545 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.9444, allocations: 4 kB / 0.9545 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.9445, allocations: 1.219 kB / 0.9545 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.9445, allocations: 1.625 kB / 0.9545 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.9448, allocations: 93.41 kB / 0.9546 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008805/0.9457, allocations: 0.4969 MB / 0.9551 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003918/0.9461, allocations: 131 kB / 0.9552 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.9462, allocations: 54.14 kB / 0.9552 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.785e-05/0.9463, allocations: 2.094 kB / 0.9552 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002994/0.9466, allocations: 106.7 kB / 0.9553 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.472e-06/0.9466, allocations: 0 / 0.9553 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0007224/0.9473, allocations: 213.2 kB / 0.9555 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.9474, allocations: 52.53 kB / 0.9556 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003913/0.9478, allocations: 377.7 kB / 0.956 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.9478, allocations: 31.02 kB / 0.956 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.776e-05/0.9479, allocations: 154 kB / 0.9561 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.9479, allocations: 29.36 kB / 0.9562 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.252e-05/0.948, allocations: 45.05 kB / 0.9562 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.321e-05/0.9481, allocations: 338.7 kB / 0.9565 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.9483, allocations: 83.22 kB / 0.9566 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.9486, allocations: 97.64 kB / 0.9567 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.9489, allocations: 155.4 kB / 0.9568 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.9489, allocations: 0 / 0.9568 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005342/0.9495, allocations: 242.7 kB / 0.9571 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.9495, allocations: 5.5 kB / 0.9571 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.9495, allocations: 0 / 0.9571 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.9495, allocations: 1.375 kB / 0.9571 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.9498, allocations: 36.66 kB / 0.9571 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.9498, allocations: 5.406 kB / 0.9571 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.95, allocations: 22.97 kB / 0.9571 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.95, allocations: 5.5 kB / 0.9571 GB, free: 2.863 MB / 0.7169 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.0001586/0.9502, allocations: 154.5 kB / 0.9573 GB, free: 2.727 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.9502, allocations: 21.34 kB / 0.9573 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.883e-05/0.9503, allocations: 31.39 kB / 0.9573 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.9503, allocations: 5.312 kB / 0.9573 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.9503, allocations: 5.375 kB / 0.9574 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.9503, allocations: 0 / 0.9574 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.9506, allocations: 281.1 kB / 0.9576 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.9506, allocations: 5.016 kB / 0.9576 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.9507, allocations: 14.05 kB / 0.9576 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.9507, allocations: 4.812 kB / 0.9576 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.9507, allocations: 5.25 kB / 0.9577 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.9507, allocations: 1.375 kB / 0.9577 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.9507, allocations: 0 / 0.9577 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004258/0.9512, allocations: 203.5 kB / 0.9578 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.9512, allocations: 98.17 kB / 0.9579 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.9513, allocations: 5.281 kB / 0.9579 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.9514, allocations: 17.5 kB / 0.958 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.553e-05/0.9515, allocations: 19.38 kB / 0.958 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.9515, allocations: 4.094 kB / 0.958 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002324/0.9518, allocations: 238 kB / 0.9582 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9518, allocations: 0 / 0.9582 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002952/0.9521, allocations: 47.81 kB / 0.9583 GB, free: 1.965 MB / 0.7169 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.001097/0.9532, allocations: 421.3 kB / 0.9587 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004893/0.9537, allocations: 162.9 kB / 0.9588 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9537, allocations: 4.062 kB / 0.9588 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.9539, allocations: 55.28 kB / 0.9589 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.9543, allocations: 57.27 kB / 0.9589 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008072/0.9551, allocations: 492.1 kB / 0.9594 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.9553, allocations: 0.7574 MB / 0.9601 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001267/0.9555, allocations: 34.78 kB / 0.9602 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.105e-05/0.9556, allocations: 23.86 kB / 0.9602 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.9556, allocations: 0 / 0.9602 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of Templates: time 0.007439/0.963, allocations: 3.235 MB / 0.9633 GB, free: 14.93 MB / 0.7325 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