Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intGreThr.t|intGreThr.u|intGreThr.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, 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.001814/0.001814, allocations: 200.5 kB / 16.79 MB, free: 6.809 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.633/1.633, allocations: 222.9 MB / 240.5 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.784/2.784, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 66.27 kB / 0.899 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3431, allocations: 157.4 MB / 1.053 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002419/0.3455, allocations: 0.7603 MB / 1.053 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.3467, allocations: 0.839 MB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.464e-05/0.3467, allocations: 0 / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.656e-05/0.3468, allocations: 0 / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.027e-05/0.3469, allocations: 7.938 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.3471, allocations: 19.98 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.557e-05/0.3472, allocations: 47.83 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.3473, allocations: 16 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.533e-05/0.3474, allocations: 19.92 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.367e-05/0.3475, allocations: 19.91 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.611e-05/0.3475, allocations: 4 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.502e-05/0.3476, allocations: 4 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.3476, allocations: 7.984 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.336e-05/0.3476, allocations: 19.86 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.256e-05/0.3477, allocations: 31.94 kB / 1.055 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3477, allocations: 0 / 1.055 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.394e-06/0.3477, allocations: 0 / 1.055 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.3478, allocations: 4 kB / 1.055 GB, free: 6.52 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006735/0.3484, allocations: 365.3 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.3485, allocations: 11.97 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.3485, allocations: 8.875 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.3487, allocations: 176.2 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.3487, allocations: 4.375 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.3487, allocations: 384 / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.3489, allocations: 77.77 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.349, allocations: 0 / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.349, allocations: 4 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.349, allocations: 0 / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/0.3492, allocations: 47.95 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.3497, allocations: 300.6 kB / 1.055 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.3499, allocations: 62.55 kB / 1.056 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.3501, allocations: 32.91 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.3501, allocations: 0 / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.3502, allocations: 30.56 kB / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.3502, allocations: 0 / 1.056 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004399/0.3506, allocations: 117.5 kB / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.3507, allocations: 51.41 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.033e-05/0.3508, allocations: 105.8 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.3508, allocations: 29.7 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.3508, allocations: 92.06 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.319e-05/0.3509, allocations: 7.812 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.3509, allocations: 21.72 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3511, allocations: 326.8 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.3512, allocations: 19.98 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.5e-05/0.3513, allocations: 23.97 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.3515, allocations: 52.75 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3515, allocations: 0 / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002368/0.3517, allocations: 85.66 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.3518, allocations: 11.98 kB / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3518, allocations: 0 / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.3518, allocations: 0 / 1.056 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.3519, allocations: 11.98 kB / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3519, allocations: 0 / 1.056 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.917e-05/0.352, allocations: 7.984 kB / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.352, allocations: 0 / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.596e-05/0.3521, allocations: 121.8 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.3522, allocations: 7.906 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.3522, allocations: 3.906 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3522, allocations: 0 / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3522, allocations: 0 / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.3522, allocations: 4 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.3524, allocations: 189.6 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3524, allocations: 7.875 kB / 1.057 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.214e-05/0.3525, allocations: 11.98 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3525, allocations: 4 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.3525, allocations: 0 / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3525, allocations: 0 / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3525, allocations: 0 / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.3528, allocations: 179.4 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.3529, allocations: 89 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.3529, allocations: 0 / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001064/0.353, allocations: 8 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/0.3531, allocations: 19.91 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.3531, allocations: 4 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.383e-05/0.3532, allocations: 83.28 kB / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3532, allocations: 0 / 1.057 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002271/0.3534, allocations: 8 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001483/0.3536, allocations: 107.5 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000258/0.3538, allocations: 59.95 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3538, allocations: 0 / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.354, allocations: 32.05 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.3543, allocations: 8 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.3547, allocations: 168.9 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.355, allocations: 0.6809 MB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.3551, allocations: 11.44 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of SimCode: time 4.61e-07/0.3551, allocations: 0 / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of Templates: time 0.002258/0.3574, allocations: 0.8112 MB / 1.059 GB, free: 1.492 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches