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.0009113/0.0009114, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001084/0.001085, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 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: 223.3 MB / 240 MB, free: 5.395 MB / 190.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.653/2.653, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005259/0.0005264, allocations: 12 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8056/0.8062, allocations: 142.4 MB / 0.9545 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.002575/0.8088, allocations: 1.679 MB / 0.9561 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001805/0.8106, allocations: 1.061 MB / 0.9571 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.8108, allocations: 6.812 kB / 0.9571 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004308/0.8112, allocations: 100.4 kB / 0.9572 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002394/0.8115, allocations: 82.47 kB / 0.9573 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.8119, allocations: 141 kB / 0.9574 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002958/0.8122, allocations: 219.9 kB / 0.9577 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.8124, allocations: 52.92 kB / 0.9577 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.8126, allocations: 87.59 kB / 0.9578 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.8127, allocations: 98.39 kB / 0.9579 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.512e-05/0.8128, allocations: 9.156 kB / 0.9579 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.8129, allocations: 61.19 kB / 0.958 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.326e-05/0.813, allocations: 51.72 kB / 0.958 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.8131, allocations: 56.36 kB / 0.9581 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.8134, allocations: 244.7 kB / 0.9583 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.8134, allocations: 1.375 kB / 0.9583 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.948e-06/0.8134, allocations: 0 / 0.9583 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.8134, allocations: 3.938 kB / 0.9583 GB, free: 4.75 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.0009723/0.8144, allocations: 0.5437 MB / 0.9588 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.8145, allocations: 8.25 kB / 0.9588 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.784e-05/0.8145, allocations: 37.33 kB / 0.9589 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.8149, allocations: 303.9 kB / 0.9592 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.815, allocations: 9.438 kB / 0.9592 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.815, allocations: 12.92 kB / 0.9592 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.8153, allocations: 127.9 kB / 0.9593 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.8154, allocations: 0 / 0.9593 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.8154, allocations: 5.219 kB / 0.9593 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.8154, allocations: 6.938 kB / 0.9593 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.8157, allocations: 106.5 kB / 0.9594 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008264/0.8165, allocations: 0.4914 MB / 0.9599 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003995/0.8169, allocations: 142.4 kB / 0.96 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.8171, allocations: 58.69 kB / 0.9601 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.8172, allocations: 10.23 kB / 0.9601 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002884/0.8175, allocations: 110.1 kB / 0.9602 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.442e-06/0.8175, allocations: 1.375 kB / 0.9602 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0006477/0.8181, allocations: 223.2 kB / 0.9604 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.8182, allocations: 52.78 kB / 0.9605 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004285/0.8186, allocations: 371.2 kB / 0.9608 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.8186, allocations: 31.89 kB / 0.9609 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.661e-05/0.8187, allocations: 149 kB / 0.961 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.8188, allocations: 36.05 kB / 0.961 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/0.8188, allocations: 5.094 kB / 0.961 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.641e-05/0.8189, allocations: 341.8 kB / 0.9614 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.8191, allocations: 80.17 kB / 0.9614 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.8193, allocations: 112.6 kB / 0.9615 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.8195, allocations: 86.69 kB / 0.9616 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8195, allocations: 0 / 0.9616 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005079/0.82, allocations: 255 kB / 0.9619 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.8201, allocations: 6.281 kB / 0.9619 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.8201, allocations: 0 / 0.9619 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.8201, allocations: 4.922 kB / 0.9619 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.8203, allocations: 40.19 kB / 0.9619 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.8203, allocations: 5.281 kB / 0.9619 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001606/0.8205, allocations: 32.09 kB / 0.962 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.909e-05/0.8205, allocations: 5.906 kB / 0.962 GB, free: 1.895 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 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,gre.y,$PRE.greHys.greHys.y,greHys.greHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001345/0.8206, allocations: 153.5 kB / 0.9621 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.421e-05/0.8207, allocations: 21.94 kB / 0.9621 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.261e-05/0.8207, allocations: 32.19 kB / 0.9622 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.8208, allocations: 1.188 kB / 0.9622 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.8208, allocations: 0 / 0.9622 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.8208, allocations: 5.078 kB / 0.9622 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.821, allocations: 281.5 kB / 0.9624 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.821, allocations: 0 / 0.9624 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.8211, allocations: 20.58 kB / 0.9625 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.8211, allocations: 1.094 kB / 0.9625 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.8212, allocations: 2 kB / 0.9625 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.8212, allocations: 0 / 0.9625 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8212, allocations: 5.156 kB / 0.9625 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000416/0.8216, allocations: 203.4 kB / 0.9627 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.916e-05/0.8217, allocations: 99.02 kB / 0.9627 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.8217, allocations: 17.11 kB / 0.9628 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.8219, allocations: 20.05 kB / 0.9628 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.8e-05/0.8219, allocations: 17.94 kB / 0.9628 GB, free: 1.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.822, allocations: 7.797 kB / 0.9628 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002667/0.8222, allocations: 233 kB / 0.963 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8223, allocations: 96 / 0.963 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000289/0.8225, allocations: 58.38 kB / 0.9631 GB, free: 0.9922 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001221/0.8238, allocations: 410.8 kB / 0.9635 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004707/0.8243, allocations: 172.9 kB / 0.9636 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.8243, allocations: 3.938 kB / 0.9636 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.8245, allocations: 67.86 kB / 0.9637 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.8249, allocations: 53.47 kB / 0.9638 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.8259, allocations: 474.4 kB / 0.9642 GB, free: 336 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004482/0.8263, allocations: 0.7539 MB / 0.9649 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001274/0.8265, allocations: 37.58 kB / 0.965 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.097e-05/0.8266, allocations: 30.14 kB / 0.965 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/0.8266, allocations: 4 kB / 0.965 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of Templates: time 0.008752/0.8353, allocations: 3.12 MB / 0.9681 GB, free: 14.02 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