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.001107/0.001107, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009657/0.009657, allocations: 170 kB / 16.26 MB, free: 6.613 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.485/1.485, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.598/2.598, allocations: 390.9 MB / 0.6663 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004271/0.0004272, allocations: 15.94 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8335/0.834, allocations: 142.4 MB / 0.9551 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.002436/0.8365, allocations: 1.716 MB / 0.9567 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001826/0.8383, allocations: 1.118 MB / 0.9578 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.8385, allocations: 7.844 kB / 0.9578 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004241/0.8389, allocations: 107.3 kB / 0.9579 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.8392, allocations: 95.81 kB / 0.958 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.8396, allocations: 150.2 kB / 0.9582 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002573/0.8398, allocations: 236.4 kB / 0.9584 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.84, allocations: 67.98 kB / 0.9585 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.8402, allocations: 90.05 kB / 0.9585 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.8403, allocations: 111.5 kB / 0.9586 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.381e-05/0.8403, allocations: 5.5 kB / 0.9587 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.8405, allocations: 56.92 kB / 0.9587 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.438e-05/0.8405, allocations: 57.8 kB / 0.9588 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.025e-05/0.8406, allocations: 110.9 kB / 0.9589 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.8409, allocations: 303.8 kB / 0.9592 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.8409, allocations: 0 / 0.9592 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8409, allocations: 0 / 0.9592 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.8409, allocations: 0 / 0.9592 GB, free: 4.59 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.0008386/0.8418, allocations: 0.5495 MB / 0.9597 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.8418, allocations: 12.61 kB / 0.9597 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.304e-05/0.8419, allocations: 29.5 kB / 0.9597 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.8423, allocations: 312.8 kB / 0.96 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.8423, allocations: 17.09 kB / 0.9601 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.8423, allocations: 10.44 kB / 0.9601 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.8427, allocations: 131.4 kB / 0.9602 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.8427, allocations: 3.984 kB / 0.9602 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.8427, allocations: 5.219 kB / 0.9602 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.8427, allocations: 1.844 kB / 0.9602 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.843, allocations: 107.1 kB / 0.9603 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007416/0.8438, allocations: 0.4904 MB / 0.9608 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.8442, allocations: 144.6 kB / 0.9609 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.8443, allocations: 55.08 kB / 0.961 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.8444, allocations: 1.375 kB / 0.961 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002447/0.8446, allocations: 118.7 kB / 0.9611 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.8446, allocations: 4.938 kB / 0.9611 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0006531/0.8453, allocations: 227.9 kB / 0.9613 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.8453, allocations: 52.41 kB / 0.9614 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003764/0.8457, allocations: 369.8 kB / 0.9617 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.8457, allocations: 27.55 kB / 0.9617 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.336e-05/0.8458, allocations: 157.5 kB / 0.9619 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.8459, allocations: 32.33 kB / 0.9619 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.8459, allocations: 28.64 kB / 0.9619 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.446e-05/0.846, allocations: 333.9 kB / 0.9623 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.8462, allocations: 84.64 kB / 0.9623 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.8464, allocations: 109.1 kB / 0.9624 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.8468, allocations: 155.1 kB / 0.9626 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.8468, allocations: 3.938 kB / 0.9626 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005041/0.8473, allocations: 254.2 kB / 0.9628 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.8473, allocations: 7.469 kB / 0.9628 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.8473, allocations: 0 / 0.9628 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.8474, allocations: 5.625 kB / 0.9629 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.8476, allocations: 44.09 kB / 0.9629 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.8476, allocations: 1.219 kB / 0.9629 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.8478, allocations: 33.17 kB / 0.9629 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.8478, allocations: 8.531 kB / 0.9629 GB, free: 1.652 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.0001236/0.8479, allocations: 157.5 kB / 0.9631 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.848, allocations: 30.48 kB / 0.9631 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.814e-05/0.848, allocations: 23.95 kB / 0.9631 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.848, allocations: 1 kB / 0.9631 GB, free: 1.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.8481, allocations: 4.953 kB / 0.9631 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.8481, allocations: 0 / 0.9631 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.8483, allocations: 285 kB / 0.9634 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8483, allocations: 1.219 kB / 0.9634 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.8484, allocations: 16.36 kB / 0.9634 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.8484, allocations: 1.031 kB / 0.9634 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.8484, allocations: 5.188 kB / 0.9634 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.8485, allocations: 1.281 kB / 0.9634 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.8485, allocations: 3.984 kB / 0.9634 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004025/0.8489, allocations: 204.7 kB / 0.9636 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.8489, allocations: 106.8 kB / 0.9637 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.849, allocations: 9.188 kB / 0.9637 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.8491, allocations: 19.05 kB / 0.9638 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.849e-05/0.8492, allocations: 20.5 kB / 0.9638 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.336e-05/0.8492, allocations: 6.484 kB / 0.9638 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002149/0.8494, allocations: 235 kB / 0.964 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8495, allocations: 0 / 0.964 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002761/0.8497, allocations: 54.77 kB / 0.9641 GB, free: 0.7461 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.001005/0.8507, allocations: 416 kB / 0.9645 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004327/0.8512, allocations: 175.6 kB / 0.9646 GB, free: 484 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8512, allocations: 0 / 0.9646 GB, free: 484 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.8514, allocations: 71.14 kB / 0.9647 GB, free: 456 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.8517, allocations: 47.56 kB / 0.9647 GB, free: 428 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006902/0.8524, allocations: 492.4 kB / 0.9652 GB, free: 72 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.8528, allocations: 0.7648 MB / 0.966 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001157/0.8529, allocations: 37.73 kB / 0.966 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.557e-05/0.853, allocations: 24.77 kB / 0.966 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.853, allocations: 3.938 kB / 0.966 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.007239/0.8603, allocations: 3.191 MB / 0.9691 GB, free: 13.72 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