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.001525/0.001525, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002173/0.002173, allocations: 196.7 kB / 16.25 MB, free: 6.625 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.459/1.459, allocations: 222.9 MB / 239.9 MB, free: 4.441 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.683/2.683, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001466, allocations: 71.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8208/0.8223, allocations: 140.3 MB / 0.9491 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.002905/0.8253, allocations: 2.075 MB / 0.9511 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.8267, allocations: 1.126 MB / 0.9522 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.8269, allocations: 6.688 kB / 0.9522 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003962/0.8273, allocations: 108.9 kB / 0.9523 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002557/0.8276, allocations: 93.06 kB / 0.9524 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.8279, allocations: 149.7 kB / 0.9526 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.8282, allocations: 256.1 kB / 0.9528 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.8284, allocations: 75.11 kB / 0.9529 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.8285, allocations: 108.6 kB / 0.953 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.8287, allocations: 126.2 kB / 0.9531 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.8287, allocations: 16 kB / 0.9531 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.8289, allocations: 72.3 kB / 0.9532 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.358e-05/0.8289, allocations: 69.59 kB / 0.9533 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.237e-05/0.829, allocations: 106.9 kB / 0.9534 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002936/0.8293, allocations: 307 kB / 0.9537 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.8293, allocations: 11.92 kB / 0.9537 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8294, allocations: 3.938 kB / 0.9537 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.8294, allocations: 0 / 0.9537 GB, free: 5.781 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.0008593/0.8302, allocations: 0.5712 MB / 0.9542 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.8303, allocations: 9.688 kB / 0.9542 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.214e-05/0.8303, allocations: 36.36 kB / 0.9543 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003255/0.8307, allocations: 309.7 kB / 0.9546 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.8307, allocations: 16.44 kB / 0.9546 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.8307, allocations: 6.219 kB / 0.9546 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/0.831, allocations: 123 kB / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.831, allocations: 0 / 0.9547 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.8311, allocations: 5.188 kB / 0.9547 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.8311, allocations: 10.17 kB / 0.9547 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.8314, allocations: 93.97 kB / 0.9548 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007146/0.8321, allocations: 0.4928 MB / 0.9553 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003585/0.8325, allocations: 135.8 kB / 0.9554 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.8326, allocations: 49.83 kB / 0.9555 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.8326, allocations: 2.281 kB / 0.9555 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002351/0.8329, allocations: 119.8 kB / 0.9556 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.724e-06/0.8329, allocations: 0 / 0.9556 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0005455/0.8334, allocations: 208.8 kB / 0.9558 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.165e-05/0.8335, allocations: 53.31 kB / 0.9558 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.8338, allocations: 372.4 kB / 0.9562 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.8338, allocations: 31.64 kB / 0.9562 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.069e-05/0.8339, allocations: 148.6 kB / 0.9564 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.8339, allocations: 33.05 kB / 0.9564 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.038e-05/0.834, allocations: 42.23 kB / 0.9564 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.546e-05/0.8341, allocations: 339.8 kB / 0.9568 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.8343, allocations: 74.2 kB / 0.9568 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.8345, allocations: 107.7 kB / 0.9569 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003154/0.8348, allocations: 149.8 kB / 0.9571 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.8348, allocations: 0 / 0.9571 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004576/0.8353, allocations: 247.2 kB / 0.9573 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.8353, allocations: 9.781 kB / 0.9573 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.8353, allocations: 0 / 0.9573 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.8353, allocations: 2.781 kB / 0.9573 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.8355, allocations: 32.84 kB / 0.9574 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.8355, allocations: 1.031 kB / 0.9574 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.8357, allocations: 19.33 kB / 0.9574 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.8357, allocations: 8.734 kB / 0.9574 GB, free: 2.832 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.0001177/0.8359, allocations: 162.4 kB / 0.9575 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.759e-05/0.8359, allocations: 26.78 kB / 0.9576 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.836, allocations: 27.81 kB / 0.9576 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.836, allocations: 1.062 kB / 0.9576 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.836, allocations: 0 / 0.9576 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.836, allocations: 1.219 kB / 0.9576 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.8362, allocations: 280.8 kB / 0.9579 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.8362, allocations: 0 / 0.9579 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.8363, allocations: 19.17 kB / 0.9579 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.8363, allocations: 5.078 kB / 0.9579 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.8363, allocations: 9.312 kB / 0.9579 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8363, allocations: 3.938 kB / 0.9579 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8363, allocations: 1.062 kB / 0.9579 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003743/0.8367, allocations: 191.3 kB / 0.9581 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.431e-05/0.8368, allocations: 97.33 kB / 0.9582 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.8368, allocations: 5.906 kB / 0.9582 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/0.837, allocations: 21.22 kB / 0.9582 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.682e-05/0.837, allocations: 23.47 kB / 0.9582 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.837, allocations: 3.281 kB / 0.9582 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001956/0.8372, allocations: 230.8 kB / 0.9584 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8373, allocations: 0.9062 kB / 0.9584 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000266/0.8375, allocations: 46.14 kB / 0.9585 GB, free: 1.938 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.0009341/0.8385, allocations: 423.4 kB / 0.9589 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004246/0.8389, allocations: 165.8 kB / 0.9591 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8389, allocations: 3.938 kB / 0.9591 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.8391, allocations: 62.83 kB / 0.9591 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.8394, allocations: 67.56 kB / 0.9592 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006456/0.8401, allocations: 486.8 kB / 0.9596 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.8403, allocations: 0.7644 MB / 0.9604 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001133/0.8404, allocations: 38.78 kB / 0.9604 GB, free: 496 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.52e-05/0.8405, allocations: 25.17 kB / 0.9605 GB, free: 484 kB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8405, allocations: 0 / 0.9605 GB, free: 484 kB / 0.7169 GB Notification: Performance of Templates: time 0.006703/0.8472, allocations: 3.345 MB / 0.9637 GB, free: 14.82 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