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.002068/0.002068, allocations: 103.5 kB / 16.35 MB, free: 6.285 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.002118/0.002118, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.69/1.69, allocations: 222.9 MB / 241 MB, free: 15.17 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.287/2.287, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 67.31 kB / 0.814 GB, free: 32.65 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3366, allocations: 140.4 MB / 0.9511 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.003989/0.3407, allocations: 2.032 MB / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001983/0.3427, allocations: 1.147 MB / 0.9542 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.3429, allocations: 7.938 kB / 0.9542 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005274/0.3434, allocations: 111.5 kB / 0.9544 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002943/0.3438, allocations: 103.5 kB / 0.9545 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.3442, allocations: 175.5 kB / 0.9546 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.3446, allocations: 259.2 kB / 0.9549 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.3448, allocations: 76.2 kB / 0.9549 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.345, allocations: 107.6 kB / 0.955 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.3452, allocations: 119.5 kB / 0.9552 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.3452, allocations: 19.98 kB / 0.9552 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.3454, allocations: 67.97 kB / 0.9552 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.869e-05/0.3455, allocations: 63.81 kB / 0.9553 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.3456, allocations: 107.3 kB / 0.9554 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.346, allocations: 322.9 kB / 0.9557 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.346, allocations: 0 / 0.9557 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.412e-06/0.346, allocations: 0 / 0.9557 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.346, allocations: 4 kB / 0.9557 GB, free: 3.301 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.001087/0.3471, allocations: 0.5762 MB / 0.9563 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3472, allocations: 12.02 kB / 0.9563 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.341e-05/0.3472, allocations: 32.56 kB / 0.9563 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005156/0.3478, allocations: 307.9 kB / 0.9566 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.3478, allocations: 11.94 kB / 0.9566 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.3478, allocations: 4 kB / 0.9566 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.3481, allocations: 129.6 kB / 0.9568 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3482, allocations: 0 / 0.9568 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.3482, allocations: 11.98 kB / 0.9568 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.3482, allocations: 0 / 0.9568 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.3485, allocations: 103.8 kB / 0.9569 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008679/0.3494, allocations: 496.3 kB / 0.9573 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003899/0.3498, allocations: 130.7 kB / 0.9575 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.35, allocations: 56.75 kB / 0.9575 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.35, allocations: 4 kB / 0.9575 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002842/0.3503, allocations: 103.5 kB / 0.9576 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.843e-06/0.3503, allocations: 0 / 0.9576 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0006173/0.3509, allocations: 221 kB / 0.9578 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.351, allocations: 59.41 kB / 0.9579 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004036/0.3514, allocations: 366.9 kB / 0.9582 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.3514, allocations: 29.7 kB / 0.9583 GB, free: 492 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.3515, allocations: 151.9 kB / 0.9584 GB, free: 336 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.3516, allocations: 23.66 kB / 0.9584 GB, free: 312 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-05/0.3517, allocations: 49.59 kB / 0.9585 GB, free: 256 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002029/0.3519, allocations: 338.8 kB / 0.9588 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.3521, allocations: 79.89 kB / 0.9589 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.3523, allocations: 108.1 kB / 0.959 GB, free: 15.72 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/0.3527, allocations: 144.5 kB / 0.9591 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.3527, allocations: 0 / 0.9591 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005006/0.3532, allocations: 245.2 kB / 0.9594 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3532, allocations: 8 kB / 0.9594 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3532, allocations: 0 / 0.9594 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.3532, allocations: 3.984 kB / 0.9594 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.3535, allocations: 35.92 kB / 0.9594 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.3535, allocations: 4 kB / 0.9594 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.3536, allocations: 27.91 kB / 0.9594 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.3537, allocations: 4 kB / 0.9594 GB, free: 15.25 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.0001549/0.3538, allocations: 167.8 kB / 0.9596 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.3539, allocations: 27.62 kB / 0.9596 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.185e-05/0.354, allocations: 25.78 kB / 0.9596 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.354, allocations: 0 / 0.9596 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.354, allocations: 4 kB / 0.9596 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.354, allocations: 0 / 0.9596 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.3543, allocations: 273.5 kB / 0.9599 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3543, allocations: 0 / 0.9599 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.3544, allocations: 19.92 kB / 0.9599 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3544, allocations: 4 kB / 0.9599 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.3544, allocations: 4 kB / 0.9599 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3544, allocations: 0 / 0.9599 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3544, allocations: 3.984 kB / 0.9599 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.3549, allocations: 189 kB / 0.9601 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.681e-05/0.355, allocations: 104.9 kB / 0.9602 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/0.355, allocations: 11.94 kB / 0.9602 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.3552, allocations: 11.98 kB / 0.9602 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.871e-05/0.3552, allocations: 23.97 kB / 0.9603 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.3553, allocations: 4 kB / 0.9603 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002731/0.3555, allocations: 233.9 kB / 0.9605 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3556, allocations: 0 / 0.9605 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003268/0.3559, allocations: 47.84 kB / 0.9605 GB, free: 14.03 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.001088/0.357, allocations: 427.3 kB / 0.9609 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004472/0.3575, allocations: 169.6 kB / 0.9611 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3575, allocations: 0 / 0.9611 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.3577, allocations: 59.97 kB / 0.9612 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003701/0.358, allocations: 61.84 kB / 0.9612 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008985/0.3589, allocations: 424.3 kB / 0.9616 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.3594, allocations: 0.7553 MB / 0.9624 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001186/0.3595, allocations: 33.92 kB / 0.9624 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.52e-05/0.3596, allocations: 31.42 kB / 0.9624 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of SimCode: time 2.9e-07/0.3596, allocations: 4 kB / 0.9624 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of Templates: time 0.00753/0.3671, allocations: 3.484 MB / 0.9658 GB, free: 8.727 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 gbode -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