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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001836/0.001837, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.002208/0.002208, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.525/1.525, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 67.84 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3597, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.003978/0.3637, allocations: 2.032 MB / 0.9531 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00206/0.3658, allocations: 1.143 MB / 0.9542 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.366, allocations: 7.938 kB / 0.9542 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004204/0.3664, allocations: 111.5 kB / 0.9544 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.3668, allocations: 103.5 kB / 0.9545 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.3673, allocations: 171.5 kB / 0.9546 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003496/0.3676, allocations: 263.2 kB / 0.9549 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002307/0.3679, allocations: 68.22 kB / 0.9549 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.368, allocations: 107.6 kB / 0.955 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.3682, allocations: 135.4 kB / 0.9552 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.3683, allocations: 12 kB / 0.9552 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.3684, allocations: 71.95 kB / 0.9552 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.328e-05/0.3685, allocations: 67.77 kB / 0.9553 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.3686, allocations: 103.3 kB / 0.9554 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004031/0.369, allocations: 322.9 kB / 0.9557 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3691, allocations: 0 / 0.9557 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.013e-06/0.3691, allocations: 0 / 0.9557 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.3691, allocations: 0 / 0.9557 GB, free: 3.352 MB / 0.7325 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.001143/0.3702, allocations: 0.5684 MB / 0.9563 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.3703, allocations: 16.03 kB / 0.9563 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.784e-05/0.3704, allocations: 28.56 kB / 0.9563 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004844/0.3709, allocations: 319.9 kB / 0.9566 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.3709, allocations: 7.938 kB / 0.9566 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.3709, allocations: 12 kB / 0.9566 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003077/0.3712, allocations: 122.7 kB / 0.9568 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3713, allocations: 4 kB / 0.9568 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.3713, allocations: 4 kB / 0.9568 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.3713, allocations: 4 kB / 0.9568 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.3716, allocations: 95.8 kB / 0.9569 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008771/0.3725, allocations: 0.4963 MB / 0.9573 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.3729, allocations: 130.7 kB / 0.9575 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.373, allocations: 52.77 kB / 0.9575 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-05/0.3731, allocations: 4 kB / 0.9575 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.3733, allocations: 103.5 kB / 0.9576 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.3733, allocations: 0 / 0.9576 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006317/0.374, allocations: 217.4 kB / 0.9578 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.374, allocations: 51.41 kB / 0.9579 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003947/0.3744, allocations: 378.9 kB / 0.9582 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.3745, allocations: 29.8 kB / 0.9583 GB, free: 0.5312 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.3746, allocations: 147.9 kB / 0.9584 GB, free: 392 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.3746, allocations: 31.64 kB / 0.9584 GB, free: 360 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-05/0.3747, allocations: 49.61 kB / 0.9585 GB, free: 304 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001892/0.3749, allocations: 334.8 kB / 0.9588 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.3751, allocations: 83.89 kB / 0.9589 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.3753, allocations: 104.1 kB / 0.959 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.3757, allocations: 148.5 kB / 0.9591 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3757, allocations: 3.938 kB / 0.9591 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004929/0.3762, allocations: 249.3 kB / 0.9594 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.3762, allocations: 4 kB / 0.9594 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3762, allocations: 0 / 0.9594 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.3762, allocations: 4 kB / 0.9594 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.3764, allocations: 35.91 kB / 0.9594 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3765, allocations: 0 / 0.9594 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.3766, allocations: 23.92 kB / 0.9594 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.3767, allocations: 4 kB / 0.9594 GB, free: 15.3 MB / 0.7481 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.000155/0.3768, allocations: 163.7 kB / 0.9596 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.3769, allocations: 27.62 kB / 0.9596 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.711e-05/0.377, allocations: 25.78 kB / 0.9596 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.377, allocations: 4 kB / 0.9596 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.377, allocations: 0 / 0.9596 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.377, allocations: 0 / 0.9596 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.3773, allocations: 277.5 kB / 0.9599 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3773, allocations: 0 / 0.9599 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.3774, allocations: 19.92 kB / 0.9599 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3774, allocations: 4 kB / 0.9599 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.3774, allocations: 3.984 kB / 0.9599 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3774, allocations: 0 / 0.9599 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3774, allocations: 4 kB / 0.9599 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004408/0.3779, allocations: 188.7 kB / 0.9601 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.952e-05/0.378, allocations: 100.8 kB / 0.9602 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.378, allocations: 12 kB / 0.9602 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.3782, allocations: 15.97 kB / 0.9602 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.62e-05/0.3783, allocations: 15.98 kB / 0.9603 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.3783, allocations: 12.08 kB / 0.9603 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002543/0.3786, allocations: 233.9 kB / 0.9605 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3786, allocations: 0 / 0.9605 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002762/0.3788, allocations: 51.83 kB / 0.9605 GB, free: 14.07 MB / 0.7481 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.001229/0.3801, allocations: 422.6 kB / 0.9609 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004737/0.3806, allocations: 159.7 kB / 0.9611 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3806, allocations: 7.938 kB / 0.9611 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.3808, allocations: 63.94 kB / 0.9612 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.3811, allocations: 59.7 kB / 0.9612 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008863/0.382, allocations: 424.3 kB / 0.9616 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.3825, allocations: 0.7592 MB / 0.9624 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001019/0.3826, allocations: 37.92 kB / 0.9624 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.179e-05/0.3827, allocations: 27.42 kB / 0.9624 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.3827, allocations: 0 / 0.9624 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of Templates: time 0.007652/0.3903, allocations: 3.478 MB / 0.9658 GB, free: 8.785 MB / 0.7481 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 -s cvode -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/jenkins1/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