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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 220.8 kB / 23.01 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.37/3.37, allocations: 0.505 GB / 0.8108 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Greater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|gre.u1|gre.u2|gre.y|greHys.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 68 kB / 1.178 GB, free: 16.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3147, allocations: 180.2 MB / 1.354 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002204/0.3169, allocations: 0.8793 MB / 1.355 GB, free: 7.039 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3181, allocations: 0.9405 MB / 1.356 GB, free: 6.086 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.646e-05/0.3182, allocations: 4 kB / 1.356 GB, free: 6.082 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.3183, allocations: 19.8 kB / 1.356 GB, free: 6.062 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.172e-05/0.3184, allocations: 7.875 kB / 1.356 GB, free: 6.055 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.3186, allocations: 39.89 kB / 1.356 GB, free: 6.016 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.3187, allocations: 99.75 kB / 1.356 GB, free: 5.918 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.3189, allocations: 31.98 kB / 1.356 GB, free: 5.887 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.319, allocations: 47.78 kB / 1.356 GB, free: 5.84 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.395e-05/0.3191, allocations: 39.83 kB / 1.356 GB, free: 5.801 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.3191, allocations: 12 kB / 1.356 GB, free: 5.789 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.727e-05/0.3192, allocations: 16 kB / 1.356 GB, free: 5.773 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.96e-05/0.3192, allocations: 15.92 kB / 1.356 GB, free: 5.758 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.475e-05/0.3193, allocations: 39.73 kB / 1.356 GB, free: 5.719 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.3195, allocations: 119.4 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3195, allocations: 0 / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3195, allocations: 4 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3195, allocations: 0 / 1.356 GB, free: 5.598 MB / 1.045 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.0006315/0.3201, allocations: 337.9 kB / 1.357 GB, free: 5.234 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3201, allocations: 8.031 kB / 1.357 GB, free: 5.227 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.3203, allocations: 20.88 kB / 1.357 GB, free: 5.207 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.3206, allocations: 142.3 kB / 1.357 GB, free: 5.043 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.3206, allocations: 8.375 kB / 1.357 GB, free: 5.035 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.3206, allocations: 4.375 kB / 1.357 GB, free: 5.031 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.3208, allocations: 94.14 kB / 1.357 GB, free: 4.934 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3208, allocations: 192 / 1.357 GB, free: 4.934 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.3209, allocations: 7.938 kB / 1.357 GB, free: 4.926 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.3209, allocations: 4 kB / 1.357 GB, free: 4.922 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.3211, allocations: 63.94 kB / 1.357 GB, free: 4.859 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005344/0.3216, allocations: 327.7 kB / 1.357 GB, free: 4.496 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.3219, allocations: 58.55 kB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.322, allocations: 36.92 kB / 1.357 GB, free: 4.391 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.322, allocations: 0 / 1.357 GB, free: 4.391 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.322, allocations: 42.5 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.322, allocations: 0 / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.00045/0.3225, allocations: 117.6 kB / 1.358 GB, free: 4.219 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.3225, allocations: 51.41 kB / 1.358 GB, free: 4.156 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.3227, allocations: 139.7 kB / 1.358 GB, free: 4.012 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.3227, allocations: 33.64 kB / 1.358 GB, free: 3.973 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.885e-05/0.3227, allocations: 116 kB / 1.358 GB, free: 3.855 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.081e-05/0.3228, allocations: 11.92 kB / 1.358 GB, free: 3.844 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.3228, allocations: 17.72 kB / 1.358 GB, free: 3.82 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.323, allocations: 322.8 kB / 1.358 GB, free: 3.496 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.3231, allocations: 23.98 kB / 1.358 GB, free: 3.473 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.3232, allocations: 31.97 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.3234, allocations: 64.73 kB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.3234, allocations: 0 / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002646/0.3237, allocations: 93.61 kB / 1.358 GB, free: 3.277 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3237, allocations: 8 kB / 1.358 GB, free: 3.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3237, allocations: 0 / 1.358 GB, free: 3.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3237, allocations: 0 / 1.358 GB, free: 3.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.3238, allocations: 19.97 kB / 1.358 GB, free: 3.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3238, allocations: 3.938 kB / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.3239, allocations: 15.98 kB / 1.359 GB, free: 3.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.3239, allocations: 4 kB / 1.359 GB, free: 3.227 MB / 1.045 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.0001062/0.324, allocations: 121.9 kB / 1.359 GB, free: 3.098 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.3241, allocations: 11.89 kB / 1.359 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.549e-05/0.3241, allocations: 16.33 kB / 1.359 GB, free: 3.066 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3241, allocations: 4 kB / 1.359 GB, free: 3.062 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3241, allocations: 3.938 kB / 1.359 GB, free: 3.059 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3241, allocations: 0 / 1.359 GB, free: 3.059 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.3243, allocations: 168.7 kB / 1.359 GB, free: 2.852 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3243, allocations: 0 / 1.359 GB, free: 2.852 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.134e-05/0.3244, allocations: 11.98 kB / 1.359 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3244, allocations: 0 / 1.359 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.3244, allocations: 0 / 1.359 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.3244, allocations: 0 / 1.359 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.686e-06/0.3244, allocations: 4.125 kB / 1.359 GB, free: 2.836 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003083/0.3247, allocations: 187.5 kB / 1.359 GB, free: 2.637 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.994e-05/0.3248, allocations: 11.94 kB / 1.359 GB, free: 2.625 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.3248, allocations: 0 / 1.359 GB, free: 2.625 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.3249, allocations: 19.92 kB / 1.359 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.325, allocations: 19.91 kB / 1.359 GB, free: 2.586 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.325, allocations: 4 kB / 1.359 GB, free: 2.582 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.864e-05/0.325, allocations: 101.1 kB / 1.359 GB, free: 2.484 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.325, allocations: 0 / 1.359 GB, free: 2.484 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002439/0.3253, allocations: 23.89 kB / 1.359 GB, free: 2.461 MB / 1.045 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.0001337/0.3254, allocations: 91.25 kB / 1.359 GB, free: 2.363 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002889/0.3257, allocations: 67.94 kB / 1.359 GB, free: 2.297 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3257, allocations: 4 kB / 1.359 GB, free: 2.293 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.3258, allocations: 31.91 kB / 1.359 GB, free: 2.262 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.3261, allocations: 12 kB / 1.359 GB, free: 2.25 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.3266, allocations: 217 kB / 1.36 GB, free: 2 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.3269, allocations: 0.6961 MB / 1.36 GB, free: 1.277 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/0.327, allocations: 15.42 kB / 1.36 GB, free: 1.266 MB / 1.045 GB Notification: Performance of SimCode: time 4.41e-07/0.327, allocations: 0 / 1.36 GB, free: 1.266 MB / 1.045 GB Notification: Performance of Templates: time 0.002964/0.3299, allocations: 1.126 MB / 1.361 GB, free: 148 kB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.395666272990638]