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.001138/0.001138, allocations: 114.5 kB / 16.42 MB, free: 6.492 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.001031/0.001031, allocations: 190.5 kB / 17.35 MB, free: 5.762 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.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.15 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.305/2.305, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 63.91 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.008, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.003469/1.011, allocations: 2.021 MB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001844/1.013, allocations: 1.145 MB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/1.013, allocations: 7.781 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004708/1.014, allocations: 112.7 kB / 1.092 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003287/1.014, allocations: 108 kB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004379/1.015, allocations: 172 kB / 1.092 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003699/1.015, allocations: 259.4 kB / 1.092 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/1.015, allocations: 80.25 kB / 1.092 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002085/1.015, allocations: 111.9 kB / 1.093 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/1.016, allocations: 130.5 kB / 1.093 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/1.016, allocations: 15.91 kB / 1.093 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/1.016, allocations: 67.34 kB / 1.093 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/1.016, allocations: 66.94 kB / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001091/1.016, allocations: 103.3 kB / 1.093 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004758/1.017, allocations: 321.9 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.017, allocations: 4 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.264e-06/1.017, allocations: 1.094 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.883e-06/1.017, allocations: 0 / 1.093 GB, free: 2.621 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.00105/1.018, allocations: 0.5757 MB / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/1.018, allocations: 8.688 kB / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.542e-05/1.018, allocations: 30.17 kB / 1.094 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004289/1.018, allocations: 321.8 kB / 1.094 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.121e-05/1.018, allocations: 9.031 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/1.018, allocations: 15.23 kB / 1.094 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/1.019, allocations: 126.8 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/1.019, allocations: 4.766 kB / 1.094 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/1.019, allocations: 4.625 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.036e-06/1.019, allocations: 2.844 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003234/1.019, allocations: 102.9 kB / 1.094 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008499/1.02, allocations: 492.4 kB / 1.095 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004148/1.02, allocations: 140.2 kB / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/1.02, allocations: 52.48 kB / 1.095 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/1.021, allocations: 1.406 kB / 1.095 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002851/1.021, allocations: 112.5 kB / 1.095 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/1.021, allocations: 4 kB / 1.095 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0006707/1.021, allocations: 207.1 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/1.022, allocations: 52.97 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004573/1.022, allocations: 367.6 kB / 1.096 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/1.022, allocations: 32.03 kB / 1.096 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.507e-05/1.022, allocations: 150.1 kB / 1.096 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.66e-05/1.022, allocations: 43.41 kB / 1.096 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.673e-05/1.022, allocations: 44.56 kB / 1.096 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.907e-05/1.022, allocations: 337.9 kB / 1.096 GB, free: 344 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/1.023, allocations: 76.83 kB / 1.096 GB, free: 324 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/1.023, allocations: 97 kB / 1.097 GB, free: 284 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/1.023, allocations: 146.3 kB / 1.097 GB, free: 220 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/1.023, allocations: 3.938 kB / 1.097 GB, free: 216 kB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005528/1.024, allocations: 241.4 kB / 1.097 GB, free: 116 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/1.024, allocations: 7.688 kB / 1.097 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.024, allocations: 0.875 kB / 1.097 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/1.024, allocations: 5.578 kB / 1.097 GB, free: 112 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/1.024, allocations: 36.31 kB / 1.097 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/1.024, allocations: 1.531 kB / 1.097 GB, free: 108 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/1.024, allocations: 25.66 kB / 1.097 GB, free: 100 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/1.024, allocations: 5.266 kB / 1.097 GB, free: 100 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.0001794/1.024, allocations: 159.3 kB / 1.097 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.628e-05/1.024, allocations: 22.98 kB / 1.097 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.123e-05/1.025, allocations: 36.05 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/1.025, allocations: 0.7969 kB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/1.025, allocations: 3.938 kB / 1.097 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.835e-05/1.025, allocations: 104.1 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/1.025, allocations: 6.375 kB / 1.097 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/1.025, allocations: 20.42 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.412e-05/1.025, allocations: 21.55 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005938/1.026, allocations: 243.4 kB / 1.098 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005319/1.026, allocations: 332.6 kB / 1.098 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001851/1.026, allocations: 57.94 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002866/1.027, allocations: 236.6 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of Backend: time 2.51e-07/1.027, allocations: 0 / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001769/1.028, allocations: 0.5603 MB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001062/1.029, allocations: 0.8838 MB / 1.1 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of Templates: time 0.01119/1.041, allocations: 3.725 MB / 1.103 GB, free: 14.02 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/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