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.001546/0.001546, 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.001976/0.001976, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.481/1.481, allocations: 222.9 MB / 239.8 MB, free: 4.652 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.586/2.586, allocations: 390.2 MB / 0.6642 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 67.89 kB / 0.8119 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8476/0.8491, allocations: 140.3 MB / 0.9489 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.00338/0.8525, allocations: 2.075 MB / 0.951 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001765/0.8543, allocations: 1.143 MB / 0.9521 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.8546, allocations: 4.156 kB / 0.9521 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004745/0.8551, allocations: 108.7 kB / 0.9522 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.8554, allocations: 86.81 kB / 0.9523 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005251/0.8559, allocations: 148.8 kB / 0.9524 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.8562, allocations: 237.5 kB / 0.9526 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.8565, allocations: 68.14 kB / 0.9527 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.8567, allocations: 100.3 kB / 0.9528 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.8568, allocations: 121.1 kB / 0.9529 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/0.8569, allocations: 8.344 kB / 0.9529 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.857, allocations: 60.27 kB / 0.953 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.336e-05/0.8571, allocations: 56.67 kB / 0.953 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.8573, allocations: 103.3 kB / 0.9531 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.8577, allocations: 307.9 kB / 0.9534 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.8577, allocations: 0 / 0.9534 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8577, allocations: 0 / 0.9534 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.8577, allocations: 0 / 0.9534 GB, free: 5.762 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.001133/0.8589, allocations: 0.5753 MB / 0.954 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.8589, allocations: 12.88 kB / 0.954 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.052e-05/0.859, allocations: 29.56 kB / 0.954 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.8594, allocations: 316.6 kB / 0.9543 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.8594, allocations: 13.47 kB / 0.9543 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.8595, allocations: 9.656 kB / 0.9544 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.8598, allocations: 117.9 kB / 0.9545 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.8598, allocations: 0 / 0.9545 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.8599, allocations: 5.312 kB / 0.9545 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.8599, allocations: 6.844 kB / 0.9545 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003405/0.8602, allocations: 100.2 kB / 0.9546 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009104/0.8611, allocations: 0.4933 MB / 0.9551 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000412/0.8616, allocations: 123.8 kB / 0.9552 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.8617, allocations: 61.83 kB / 0.9552 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.8618, allocations: 9.188 kB / 0.9552 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002979/0.8621, allocations: 102.7 kB / 0.9553 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 2.394e-06/0.8621, allocations: 5.172 kB / 0.9553 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0006656/0.8628, allocations: 212.8 kB / 0.9556 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.8628, allocations: 52.81 kB / 0.9556 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003817/0.8632, allocations: 370.2 kB / 0.956 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.8632, allocations: 31.41 kB / 0.956 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.307e-05/0.8633, allocations: 152.7 kB / 0.9561 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.8634, allocations: 29.08 kB / 0.9562 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-05/0.8634, allocations: 41.86 kB / 0.9562 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.603e-05/0.8635, allocations: 337.9 kB / 0.9565 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.8637, allocations: 84.11 kB / 0.9566 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.864, allocations: 104.8 kB / 0.9567 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003519/0.8643, allocations: 146.1 kB / 0.9568 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.8643, allocations: 0 / 0.9568 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005528/0.8649, allocations: 247.6 kB / 0.9571 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.8649, allocations: 5.062 kB / 0.9571 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.8649, allocations: 0 / 0.9571 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.865, allocations: 2.156 kB / 0.9571 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.8652, allocations: 33.23 kB / 0.9571 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.8652, allocations: 9.078 kB / 0.9571 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.8654, allocations: 19.23 kB / 0.9571 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.8654, allocations: 9.375 kB / 0.9571 GB, free: 2.805 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.0001296/0.8656, allocations: 158.3 kB / 0.9573 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.8656, allocations: 22.59 kB / 0.9573 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.87e-05/0.8657, allocations: 27.28 kB / 0.9573 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.8657, allocations: 384 / 0.9573 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.8657, allocations: 1.875 kB / 0.9574 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.8658, allocations: 0 / 0.9574 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.8661, allocations: 285.5 kB / 0.9576 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.8661, allocations: 7.938 kB / 0.9576 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.8662, allocations: 22.45 kB / 0.9577 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.8662, allocations: 0 / 0.9577 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.8662, allocations: 5.516 kB / 0.9577 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.8662, allocations: 1.469 kB / 0.9577 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8662, allocations: 0 / 0.9577 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004249/0.8667, allocations: 194.9 kB / 0.9578 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.499e-05/0.8667, allocations: 106.4 kB / 0.9579 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.8668, allocations: 1.969 kB / 0.9579 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.8669, allocations: 16.33 kB / 0.958 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.543e-05/0.867, allocations: 23.61 kB / 0.958 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.8671, allocations: 3.469 kB / 0.958 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003003/0.8674, allocations: 230.7 kB / 0.9582 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8674, allocations: 0 / 0.9582 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003303/0.8677, allocations: 51.73 kB / 0.9583 GB, free: 1.906 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.001236/0.869, allocations: 418.1 kB / 0.9587 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005029/0.8695, allocations: 159.9 kB / 0.9588 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8695, allocations: 0 / 0.9588 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.8697, allocations: 74.78 kB / 0.9589 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/0.8702, allocations: 50.7 kB / 0.9589 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.8714, allocations: 488.5 kB / 0.9594 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.8718, allocations: 0.7537 MB / 0.9601 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001694/0.872, allocations: 37.19 kB / 0.9602 GB, free: 492 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.8721, allocations: 29.02 kB / 0.9602 GB, free: 476 kB / 0.7169 GB Notification: Performance of SimCode: time 6.71e-07/0.8721, allocations: 0 / 0.9602 GB, free: 476 kB / 0.7169 GB Notification: Performance of Templates: time 0.01024/0.8824, allocations: 3.23 MB / 0.9633 GB, free: 14.87 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