Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Reals.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.00161, allocations: 105.1 kB / 15.98 MB, free: 6.352 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.001734/0.001735, allocations: 199.1 kB / 16.91 MB, free: 6.188 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.416/1.416, allocations: 222.9 MB / 240.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.853/2.853, allocations: 482.4 MB / 0.755 GB, free: 7.195 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 68.22 kB / 0.924 GB, free: 340 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7537/0.7556, allocations: 162.2 MB / 1.082 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002028/0.7577, allocations: 0.9275 MB / 1.083 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000947/0.7586, allocations: 0.8779 MB / 1.084 GB, free: 376 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.894e-05/0.7588, allocations: 6.25 kB / 1.084 GB, free: 372 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.7589, allocations: 7.203 kB / 1.084 GB, free: 368 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.871e-05/0.7589, allocations: 14.62 kB / 1.084 GB, free: 356 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.7591, allocations: 34.34 kB / 1.084 GB, free: 332 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.7593, allocations: 101.8 kB / 1.084 GB, free: 280 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.7594, allocations: 48.39 kB / 1.084 GB, free: 256 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.7595, allocations: 43.28 kB / 1.084 GB, free: 232 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.234e-05/0.7596, allocations: 37.78 kB / 1.084 GB, free: 212 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.7596, allocations: 7.812 kB / 1.084 GB, free: 212 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.963e-05/0.7596, allocations: 8.531 kB / 1.084 GB, free: 212 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.7597, allocations: 22.42 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/0.7597, allocations: 38.25 kB / 1.085 GB, free: 168 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.7598, allocations: 76.28 kB / 1.085 GB, free: 144 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7599, allocations: 4 kB / 1.085 GB, free: 140 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.312e-06/0.7599, allocations: 0 / 1.085 GB, free: 140 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.7599, allocations: 1.219 kB / 1.085 GB, free: 140 kB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006756/0.7606, allocations: 409.5 kB / 1.085 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.7606, allocations: 13.91 kB / 1.085 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.7606, allocations: 9.469 kB / 1.085 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.7609, allocations: 201.2 kB / 1.085 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.7609, allocations: 10.34 kB / 1.085 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.7609, allocations: 5.188 kB / 1.085 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.7612, allocations: 91.39 kB / 1.085 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.7612, allocations: 0.9375 kB / 1.085 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.7612, allocations: 9.125 kB / 1.085 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.7612, allocations: 1.281 kB / 1.085 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002467/0.7615, allocations: 65.88 kB / 1.085 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005582/0.7621, allocations: 347.3 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002546/0.7623, allocations: 71.81 kB / 1.086 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.7625, allocations: 35.73 kB / 1.086 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.7625, allocations: 4.703 kB / 1.086 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.7625, allocations: 32.36 kB / 1.086 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.143e-06/0.7625, allocations: 0 / 1.086 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0004911/0.763, allocations: 123.5 kB / 1.086 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.7631, allocations: 52.16 kB / 1.086 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.7632, allocations: 139.5 kB / 1.086 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.7633, allocations: 34.39 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.7633, allocations: 105 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.7634, allocations: 5.281 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.79e-05/0.7634, allocations: 21.06 kB / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.7636, allocations: 323 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.7637, allocations: 31.67 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.7638, allocations: 31.36 kB / 1.087 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.7641, allocations: 54.8 kB / 1.087 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.7641, allocations: 8.844 kB / 1.087 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002924/0.7644, allocations: 99.94 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.7644, allocations: 7.281 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.7644, allocations: 1.062 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.7644, allocations: 0.7969 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.7646, allocations: 10.91 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.7646, allocations: 6.266 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.7647, allocations: 18.25 kB / 1.087 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.7647, allocations: 1.5 kB / 1.087 GB, free: 14.23 MB / 0.8419 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 (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 (5): * Single equations (assignments): 5 * 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.0001089/0.7648, allocations: 119.1 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.7649, allocations: 6.812 kB / 1.087 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.7649, allocations: 11.73 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.7649, allocations: 1.828 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.7649, allocations: 5.125 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.7649, allocations: 0 / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.7652, allocations: 200.9 kB / 1.087 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.7652, allocations: 0.6562 kB / 1.087 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.65e-05/0.7653, allocations: 11.05 kB / 1.087 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.7653, allocations: 1.438 kB / 1.087 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.7653, allocations: 0.7969 kB / 1.087 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7653, allocations: 0 / 1.087 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.7653, allocations: 5.844 kB / 1.087 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.7657, allocations: 189.5 kB / 1.087 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-05/0.7657, allocations: 87.56 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.7658, allocations: 2.516 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.7659, allocations: 14.36 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/0.766, allocations: 17.09 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.766, allocations: 2.156 kB / 1.088 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.596e-05/0.7661, allocations: 105.7 kB / 1.088 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.983e-06/0.7661, allocations: 4 kB / 1.088 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002356/0.7663, allocations: 13.31 kB / 1.088 GB, free: 13.52 MB / 0.8419 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 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * 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.0001502/0.7665, allocations: 104.5 kB / 1.088 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003081/0.7668, allocations: 64.27 kB / 1.088 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7668, allocations: 1 kB / 1.088 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.7669, allocations: 43.66 kB / 1.088 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.7673, allocations: 11.08 kB / 1.088 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004684/0.7678, allocations: 245.3 kB / 1.088 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.7681, allocations: 0.6979 MB / 1.089 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.774e-05/0.7682, allocations: 11.98 kB / 1.089 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of SimCode: time 3.91e-07/0.7682, allocations: 0 / 1.089 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of Templates: time 0.003128/0.7713, allocations: 1.115 MB / 1.09 GB, free: 12.39 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches