Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Integers.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGre.u1|intGre.u2|intGre.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGre.u1|intGre.u2|intGre.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001811/0.001811, allocations: 200 kB / 16.79 MB, free: 6.828 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.382/1.382, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.705/2.705, allocations: 437 MB / 0.7106 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 63.91 kB / 0.8692 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6597/0.6612, allocations: 151.6 MB / 1.017 GB, free: 2.82 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Greater): time 0.002373/0.6636, allocations: 0.8438 MB / 1.018 GB, free: 1.977 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001064/0.6647, allocations: 0.8584 MB / 1.019 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.802e-05/0.6648, allocations: 4 kB / 1.019 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.246e-05/0.6649, allocations: 7.922 kB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.766e-05/0.665, allocations: 7.938 kB / 1.019 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.6652, allocations: 31.97 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.6653, allocations: 83.81 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.6655, allocations: 27.89 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.07e-05/0.6656, allocations: 39.78 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.6657, allocations: 47.81 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.801e-05/0.6657, allocations: 4 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.023e-05/0.6658, allocations: 8 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.671e-05/0.6658, allocations: 15.92 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.149e-05/0.6658, allocations: 39.83 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.753e-05/0.666, allocations: 55.83 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.666, allocations: 0 / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.102e-06/0.666, allocations: 3.938 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.666, allocations: 0 / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006908/0.6667, allocations: 397.2 kB / 1.02 GB, free: 308 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.6667, allocations: 8.031 kB / 1.02 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.6668, allocations: 12.84 kB / 1.02 GB, free: 288 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.6669, allocations: 180.2 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.6669, allocations: 8.375 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.667, allocations: 4.375 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.6673, allocations: 105.2 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.6673, allocations: 4 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.6673, allocations: 4 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.6674, allocations: 0 / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003794/0.6677, allocations: 103.9 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005951/0.6683, allocations: 348.5 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006502/0.669, allocations: 118.6 kB / 1.021 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.6692, allocations: 56.81 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.6692, allocations: 0 / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.6693, allocations: 38.5 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.6693, allocations: 0 / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0007072/0.67, allocations: 185.4 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.67, allocations: 51.41 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.894e-05/0.6701, allocations: 121.8 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.6702, allocations: 29.7 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.6702, allocations: 96.03 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.6703, allocations: 15.75 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/0.6703, allocations: 25.7 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.6704, allocations: 326.7 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.6706, allocations: 47.95 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.6708, allocations: 51.95 kB / 1.022 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.6711, allocations: 92.72 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6712, allocations: 0 / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004132/0.6716, allocations: 141.5 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.6716, allocations: 4 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.6716, allocations: 0 / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.6716, allocations: 4 kB / 1.022 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.6718, allocations: 19.97 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.6718, allocations: 4 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.672, allocations: 15.92 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.672, allocations: 3.984 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,intGre.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001126/0.6721, allocations: 121.8 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.6721, allocations: 11.84 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.6722, allocations: 12.38 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.6722, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6722, allocations: 4 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.239e-06/0.6722, allocations: 3.938 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.6724, allocations: 193.6 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.6724, allocations: 4 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.6726, allocations: 27.97 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.6726, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.6726, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.6726, allocations: 7.984 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6726, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004771/0.6731, allocations: 243.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.6732, allocations: 85 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.6732, allocations: 4 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.6734, allocations: 11.98 kB / 1.023 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.6735, allocations: 19.97 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.6735, allocations: 11.94 kB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.694e-05/0.6736, allocations: 95.64 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6736, allocations: 3.938 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002408/0.6738, allocations: 15.94 kB / 1.023 GB, free: 12.99 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (intGre.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001256/0.674, allocations: 115.2 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004246/0.6744, allocations: 103.9 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6744, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.6746, allocations: 59.95 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.6749, allocations: 14.05 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004867/0.6754, allocations: 211.1 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.6757, allocations: 0.6888 MB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.156e-05/0.6758, allocations: 23.42 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of SimCode: time 6.01e-07/0.6758, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of Templates: time 0.002929/0.6787, allocations: 1.219 MB / 1.025 GB, free: 10.5 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches