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.001051/0.001052, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001092/0.001092, allocations: 177.3 kB / 15.95 MB, free: 216 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.371/1.371, allocations: 223.2 MB / 239.9 MB, free: 5.43 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.419/2.419, allocations: 390.2 MB / 0.6653 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003707, allocations: 12 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6855/0.6859, allocations: 142.3 MB / 0.9535 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Greater): time 0.002176/0.6881, allocations: 1.66 MB / 0.9552 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.6898, allocations: 1.064 MB / 0.9562 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002393/0.69, allocations: 2.125 kB / 0.9562 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006104/0.6907, allocations: 97.58 kB / 0.9563 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005121/0.6912, allocations: 96.7 kB / 0.9564 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008292/0.692, allocations: 129.6 kB / 0.9565 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005953/0.6926, allocations: 154 kB / 0.9567 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002842/0.6929, allocations: 56.06 kB / 0.9567 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003412/0.6933, allocations: 95.02 kB / 0.9568 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.6936, allocations: 92.45 kB / 0.9569 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.411e-05/0.6936, allocations: 6.281 kB / 0.9569 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.6939, allocations: 51.69 kB / 0.9569 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.694, allocations: 55.48 kB / 0.957 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.6941, allocations: 63.7 kB / 0.9571 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004899/0.6946, allocations: 238.9 kB / 0.9573 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.6946, allocations: 0 / 0.9573 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.474e-06/0.6946, allocations: 0 / 0.9573 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.6947, allocations: 0 / 0.9573 GB, free: 5.277 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.001427/0.6961, allocations: 0.5524 MB / 0.9578 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.6962, allocations: 8.969 kB / 0.9578 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.6963, allocations: 31.83 kB / 0.9579 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005997/0.6969, allocations: 309 kB / 0.9582 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.6969, allocations: 8.312 kB / 0.9582 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.44e-05/0.697, allocations: 6.875 kB / 0.9582 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.6973, allocations: 132.5 kB / 0.9583 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.6974, allocations: 0 / 0.9583 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.6974, allocations: 5.219 kB / 0.9583 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.6974, allocations: 2.531 kB / 0.9583 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/0.6978, allocations: 110.2 kB / 0.9584 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008859/0.6986, allocations: 0.5027 MB / 0.9589 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004027/0.6991, allocations: 134.5 kB / 0.959 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.6991, allocations: 5.438 kB / 0.959 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002708/0.6994, allocations: 111.3 kB / 0.9591 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.953e-06/0.6994, allocations: 0 / 0.9591 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0006481/0.7, allocations: 223.3 kB / 0.9593 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.7001, allocations: 52.53 kB / 0.9594 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003836/0.7005, allocations: 368.3 kB / 0.9598 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.7005, allocations: 35.06 kB / 0.9598 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.256e-05/0.7006, allocations: 153.7 kB / 0.9599 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.7006, allocations: 31.69 kB / 0.96 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.257e-05/0.7006, allocations: 5.359 kB / 0.96 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.711e-05/0.7007, allocations: 341.6 kB / 0.9603 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.7009, allocations: 79.77 kB / 0.9604 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.7011, allocations: 110.5 kB / 0.9605 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.7013, allocations: 80.22 kB / 0.9605 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.7014, allocations: 3.984 kB / 0.9606 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005185/0.7019, allocations: 257.6 kB / 0.9608 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.7019, allocations: 4.719 kB / 0.9608 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.7019, allocations: 1.344 kB / 0.9608 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.7019, allocations: 1.062 kB / 0.9608 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.7022, allocations: 39.97 kB / 0.9608 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.7022, allocations: 1.375 kB / 0.9608 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.7024, allocations: 43.75 kB / 0.9609 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.7024, allocations: 5.062 kB / 0.9609 GB, free: 2.449 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.0001399/0.7026, allocations: 163.1 kB / 0.961 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.7026, allocations: 22.12 kB / 0.9611 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.317e-05/0.7027, allocations: 27.88 kB / 0.9611 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.7027, allocations: 5.125 kB / 0.9611 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.7027, allocations: 0 / 0.9611 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.7027, allocations: 0.7812 kB / 0.9611 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.7029, allocations: 277.3 kB / 0.9614 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.7029, allocations: 1.312 kB / 0.9614 GB, free: 2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.7031, allocations: 20.41 kB / 0.9614 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.7031, allocations: 1.125 kB / 0.9614 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.7031, allocations: 1.406 kB / 0.9614 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.7031, allocations: 0 / 0.9614 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.7031, allocations: 5.312 kB / 0.9614 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.7035, allocations: 203.2 kB / 0.9616 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-05/0.7036, allocations: 98.95 kB / 0.9617 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.7037, allocations: 10.25 kB / 0.9617 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.7038, allocations: 22.38 kB / 0.9617 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.996e-05/0.7039, allocations: 19.31 kB / 0.9617 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.7039, allocations: 7.172 kB / 0.9617 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002333/0.7042, allocations: 228.8 kB / 0.962 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7042, allocations: 1.156 kB / 0.962 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003114/0.7045, allocations: 54.23 kB / 0.962 GB, free: 1.555 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.0009995/0.7055, allocations: 429.6 kB / 0.9624 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004581/0.706, allocations: 171.3 kB / 0.9626 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.706, allocations: 0 / 0.9626 GB, free: 1.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.7062, allocations: 68.39 kB / 0.9626 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.7065, allocations: 57.47 kB / 0.9627 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007778/0.7073, allocations: 470.5 kB / 0.9632 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.7075, allocations: 0.7626 MB / 0.9639 GB, free: 148 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001398/0.7077, allocations: 30.59 kB / 0.9639 GB, free: 140 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.401e-05/0.7078, allocations: 27.95 kB / 0.964 GB, free: 124 kB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.7078, allocations: 4 kB / 0.964 GB, free: 120 kB / 0.7169 GB Notification: Performance of Templates: time 0.007692/0.7155, allocations: 3.124 MB / 0.967 GB, free: 14.56 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","../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