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 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.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.001583/0.001583, allocations: 101.1 kB / 16.36 MB, free: 6.012 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.001647/0.001647, allocations: 193.3 kB / 17.3 MB, free: 5.617 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.478/1.478, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.572/2.572, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 64.47 kB / 0.8774 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3491, allocations: 153 MB / 1.027 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002111/0.3513, allocations: 0.8851 MB / 1.028 GB, free: 1.215 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.3523, allocations: 0.8857 MB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.966e-05/0.3524, allocations: 4 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.3525, allocations: 15.8 kB / 1.028 GB, free: 304 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.63e-05/0.3526, allocations: 15.88 kB / 1.029 GB, free: 288 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001778/0.3528, allocations: 35.95 kB / 1.029 GB, free: 252 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.3529, allocations: 99.69 kB / 1.029 GB, free: 152 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.3531, allocations: 47.97 kB / 1.029 GB, free: 104 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.966e-05/0.3532, allocations: 43.78 kB / 1.029 GB, free: 60 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.637e-05/0.3533, allocations: 43.83 kB / 1.029 GB, free: 16 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.3533, allocations: 11.94 kB / 1.029 GB, free: 4 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.239e-05/0.3533, allocations: 8.047 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.264e-05/0.3533, allocations: 11.94 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.3534, allocations: 39.73 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.3535, allocations: 99.64 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3535, allocations: 4 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3535, allocations: 0 / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.3536, allocations: 0 / 1.029 GB, free: 15.84 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00065/0.3542, allocations: 407.1 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.3543, allocations: 8.031 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.3543, allocations: 8.844 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.3546, allocations: 220 kB / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.3546, allocations: 384 / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.3546, allocations: 8.375 kB / 1.03 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.3549, allocations: 98.19 kB / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3549, allocations: 192 / 1.03 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.3549, allocations: 3.938 kB / 1.03 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.3549, allocations: 4 kB / 1.03 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/0.3551, allocations: 71.94 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005703/0.3557, allocations: 348.5 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.356, allocations: 70.47 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000114/0.3561, allocations: 32.94 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.3561, allocations: 3.984 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.3561, allocations: 34.56 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3561, allocations: 0 / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004222/0.3566, allocations: 117.5 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.3566, allocations: 71.2 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.677e-05/0.3567, allocations: 136.3 kB / 1.031 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.3567, allocations: 25.7 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.3568, allocations: 104 kB / 1.031 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.3568, allocations: 15.83 kB / 1.031 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.3569, allocations: 17.72 kB / 1.031 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.357, allocations: 318.8 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.3571, allocations: 31.97 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.617e-05/0.3572, allocations: 31.98 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.3574, allocations: 60.92 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3574, allocations: 0 / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002417/0.3577, allocations: 101.5 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3577, allocations: 7.938 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.3577, allocations: 0 / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.3577, allocations: 0 / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.3578, allocations: 11.98 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.3579, allocations: 3.938 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.811e-05/0.358, allocations: 15.98 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.358, allocations: 4 kB / 1.031 GB, free: 13.27 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: 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 9.996e-05/0.3581, allocations: 125.8 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.3581, allocations: 7.906 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/0.3582, allocations: 8.25 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3582, allocations: 4 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3582, allocations: 3.938 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3582, allocations: 0 / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.3584, allocations: 185.6 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3584, allocations: 0 / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.042e-05/0.3585, allocations: 15.98 kB / 1.032 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3585, allocations: 0 / 1.032 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3585, allocations: 4 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3585, allocations: 0 / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.3585, allocations: 3.938 kB / 1.032 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.3588, allocations: 191.3 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.3589, allocations: 85.02 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/0.3589, allocations: 4 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.359, allocations: 16.28 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.541e-05/0.3591, allocations: 23.84 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.3591, allocations: 4 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.782e-05/0.3591, allocations: 95.27 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3592, allocations: 0 / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002285/0.3594, allocations: 19.94 kB / 1.032 GB, free: 12.39 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 (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.0001683/0.3596, allocations: 111.2 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002785/0.3598, allocations: 71.81 kB / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3599, allocations: 0 / 1.032 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.36, allocations: 35.97 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.3603, allocations: 12 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004226/0.3607, allocations: 186 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.361, allocations: 0.6924 MB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.667e-05/0.361, allocations: 11.98 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.3611, allocations: 15.44 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3611, allocations: 3.938 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of Templates: time 0.003573/0.3647, allocations: 1.007 MB / 1.034 GB, free: 10.2 MB / 0.8106 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=480 -s cvode -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