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.001512/0.001512, 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.001889/0.001889, allocations: 198.5 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.339/1.339, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.691/2.691, allocations: 461.9 MB / 0.7348 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 66.88 kB / 0.8991 GB, free: 37.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3388, allocations: 157.4 MB / 1.053 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002547/0.3414, allocations: 0.9205 MB / 1.054 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.3426, allocations: 0.8896 MB / 1.055 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.3428, allocations: 4 kB / 1.055 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.343, allocations: 7.875 kB / 1.055 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.138e-05/0.3431, allocations: 15.92 kB / 1.055 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.3433, allocations: 31.92 kB / 1.055 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.3435, allocations: 95.67 kB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001694/0.3436, allocations: 51.95 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.3438, allocations: 39.78 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.391e-05/0.3439, allocations: 31.84 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.3439, allocations: 4 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.58e-05/0.3439, allocations: 8 kB / 1.055 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.655e-05/0.344, allocations: 15.91 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.951e-05/0.344, allocations: 39.73 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.3441, allocations: 71.84 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.3442, allocations: 4 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3442, allocations: 0 / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.3442, allocations: 0 / 1.055 GB, free: 6.094 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.0006938/0.3449, allocations: 411.4 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3449, allocations: 8.031 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.045e-05/0.345, allocations: 8.844 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.3452, allocations: 204 kB / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3453, allocations: 8.375 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.3453, allocations: 12.36 kB / 1.056 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.3455, allocations: 86.2 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3456, allocations: 192 / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.3456, allocations: 3.938 kB / 1.056 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.3456, allocations: 4 kB / 1.056 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002565/0.3459, allocations: 67.94 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006038/0.3465, allocations: 356.5 kB / 1.056 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002503/0.3467, allocations: 74.47 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.3469, allocations: 32.94 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.3469, allocations: 3.984 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.3469, allocations: 30.56 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.3469, allocations: 0 / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004758/0.3474, allocations: 121.5 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.3475, allocations: 55.39 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.3476, allocations: 139.3 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.029e-05/0.3476, allocations: 29.7 kB / 1.057 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.344e-05/0.3477, allocations: 96.05 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.3477, allocations: 19.73 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.3478, allocations: 25.59 kB / 1.057 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3479, allocations: 322.8 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.3481, allocations: 31.97 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.3482, allocations: 27.98 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.3484, allocations: 56.8 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3484, allocations: 4 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002963/0.3487, allocations: 101.7 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3487, allocations: 8 kB / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3487, allocations: 0 / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3488, allocations: 0 / 1.057 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001124/0.3489, allocations: 15.92 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.3489, allocations: 3.938 kB / 1.057 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.349, allocations: 15.98 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.349, allocations: 0 / 1.057 GB, free: 3.531 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 0.0001025/0.3491, allocations: 117.8 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.3492, allocations: 7.891 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.3492, allocations: 16.25 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.3492, allocations: 0 / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3492, allocations: 3.938 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3492, allocations: 0 / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002166/0.3495, allocations: 189.6 kB / 1.058 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3495, allocations: 0 / 1.058 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.367e-05/0.3496, allocations: 11.98 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3496, allocations: 0 / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.3496, allocations: 4 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3496, allocations: 0 / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3496, allocations: 3.938 kB / 1.058 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.3499, allocations: 195.5 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/0.35, allocations: 89.05 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.35, allocations: 4 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.3502, allocations: 11.98 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.851e-05/0.3502, allocations: 15.91 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.3502, allocations: 4 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.414e-05/0.3503, allocations: 101 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3503, allocations: 4 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002504/0.3506, allocations: 15.94 kB / 1.058 GB, free: 2.656 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.000181/0.3508, allocations: 99.19 kB / 1.058 GB, free: 2.551 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002884/0.3511, allocations: 75.88 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3511, allocations: 0 / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.3512, allocations: 35.97 kB / 1.058 GB, free: 2.441 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.3516, allocations: 21.62 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005322/0.3521, allocations: 230.5 kB / 1.058 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.3524, allocations: 0.6926 MB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.414e-05/0.3525, allocations: 15.42 kB / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of SimCode: time 4.31e-07/0.3525, allocations: 0 / 1.059 GB, free: 1.43 MB / 0.8106 GB Notification: Performance of Templates: time 0.003002/0.3555, allocations: 1.1 MB / 1.06 GB, free: 340 kB / 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 -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