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.009495/0.009495, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001549/0.001549, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.503/2.503, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 71.91 kB / 0.9509 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.097/1.098, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.004368/1.103, allocations: 2.01 MB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002375/1.105, allocations: 1.153 MB / 1.091 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/1.105, allocations: 7.469 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005273/1.106, allocations: 112 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003384/1.106, allocations: 112 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/1.107, allocations: 164.7 kB / 1.091 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004369/1.107, allocations: 255.5 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/1.107, allocations: 85.34 kB / 1.092 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/1.108, allocations: 114.9 kB / 1.092 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/1.108, allocations: 122.6 kB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.323e-05/1.108, allocations: 19.69 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/1.108, allocations: 68.47 kB / 1.092 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/1.108, allocations: 66.33 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/1.108, allocations: 98.45 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005358/1.109, allocations: 326.3 kB / 1.093 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/1.109, allocations: 0 / 1.093 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.926e-06/1.109, allocations: 0.7812 kB / 1.093 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.326e-06/1.109, allocations: 0.6562 kB / 1.093 GB, free: 2.609 MB / 0.8575 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.001073/1.11, allocations: 0.582 MB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/1.11, allocations: 10.34 kB / 1.093 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.735e-05/1.11, allocations: 28.69 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005151/1.111, allocations: 322.3 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.221e-05/1.111, allocations: 12.06 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/1.111, allocations: 7.922 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000401/1.111, allocations: 128.1 kB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/1.111, allocations: 0 / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/1.111, allocations: 5.672 kB / 1.094 GB, free: 1.75 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/1.111, allocations: 6.5 kB / 1.094 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003945/1.112, allocations: 95.38 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009856/1.113, allocations: 0.4942 MB / 1.094 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004416/1.113, allocations: 128 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/1.113, allocations: 59.34 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/1.113, allocations: 2.016 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002872/1.114, allocations: 104.6 kB / 1.094 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 2.194e-06/1.114, allocations: 0 / 1.094 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0007017/1.114, allocations: 211.9 kB / 1.095 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/1.114, allocations: 56.09 kB / 1.095 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005621/1.115, allocations: 367.8 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/1.115, allocations: 28.88 kB / 1.095 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/1.115, allocations: 153.5 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/1.115, allocations: 35.09 kB / 1.095 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.004e-05/1.115, allocations: 44.91 kB / 1.095 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.115, allocations: 342.1 kB / 1.096 GB, free: 336 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/1.116, allocations: 80 kB / 1.096 GB, free: 312 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/1.116, allocations: 104.2 kB / 1.096 GB, free: 268 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/1.116, allocations: 140.2 kB / 1.096 GB, free: 208 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/1.116, allocations: 0 / 1.096 GB, free: 208 kB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000623/1.117, allocations: 250.7 kB / 1.096 GB, free: 100 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/1.117, allocations: 6.312 kB / 1.096 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/1.117, allocations: 0.7031 kB / 1.096 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/1.117, allocations: 1.156 kB / 1.096 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/1.117, allocations: 36.64 kB / 1.096 GB, free: 96 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/1.117, allocations: 1.438 kB / 1.096 GB, free: 96 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/1.117, allocations: 28.61 kB / 1.096 GB, free: 84 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/1.117, allocations: 6.547 kB / 1.096 GB, free: 84 kB / 0.8575 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.0002063/1.118, allocations: 155.5 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/1.118, allocations: 26.98 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.793e-05/1.118, allocations: 30.55 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/1.118, allocations: 1.844 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/1.118, allocations: 4.547 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/1.118, allocations: 1.703 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003509/1.118, allocations: 272.4 kB / 1.097 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.118, allocations: 5.625 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/1.118, allocations: 18.91 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/1.118, allocations: 1.5 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/1.118, allocations: 6.688 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.118, allocations: 0 / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.118, allocations: 1.234 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004821/1.119, allocations: 193.7 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/1.119, allocations: 100 kB / 1.097 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/1.119, allocations: 6.078 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/1.119, allocations: 15.5 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.025e-05/1.119, allocations: 22.34 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/1.119, allocations: 4.984 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003073/1.12, allocations: 233 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.12, allocations: 0 / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003584/1.12, allocations: 48.33 kB / 1.097 GB, free: 15.3 MB / 0.8731 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.001153/1.121, allocations: 433.9 kB / 1.098 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000514/1.122, allocations: 158 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/1.122, allocations: 0 / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002103/1.122, allocations: 65.42 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/1.122, allocations: 57.44 kB / 1.098 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000941/1.123, allocations: 422.4 kB / 1.098 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005957/1.124, allocations: 0.756 MB / 1.099 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001348/1.124, allocations: 32.66 kB / 1.099 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/1.124, allocations: 32.69 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of SimCode: time 2.8e-07/1.124, allocations: 1.125 kB / 1.099 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of Templates: time 0.009676/1.134, allocations: 3.587 MB / 1.103 GB, free: 13.72 MB / 0.8731 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