Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001766/0.001766, allocations: 102.3 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.002364/0.002364, allocations: 217.9 kB / 23.01 MB, free: 4.609 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.726/2.726, allocations: 476.8 MB / 0.7714 GB, free: 4.293 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_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.002109/0.002109, allocations: 62.81 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3363, allocations: 170 MB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.002061/0.3383, allocations: 0.8851 MB / 1.286 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.3395, allocations: 0.929 MB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.8e-05/0.3396, allocations: 3.938 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.3397, allocations: 19.86 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.325e-05/0.3398, allocations: 11.81 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.34, allocations: 39.94 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.3401, allocations: 107.6 kB / 1.287 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.3402, allocations: 31.98 kB / 1.287 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.3404, allocations: 55.77 kB / 1.287 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.484e-05/0.3405, allocations: 39.78 kB / 1.287 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.3405, allocations: 8 kB / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.08e-05/0.3406, allocations: 16 kB / 1.287 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.361e-05/0.3406, allocations: 15.92 kB / 1.287 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.785e-05/0.3406, allocations: 35.8 kB / 1.287 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.3408, allocations: 103.5 kB / 1.287 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3408, allocations: 4 kB / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3408, allocations: 0 / 1.287 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.3408, allocations: 4 kB / 1.287 GB, free: 8.883 MB / 0.9825 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.0006088/0.3414, allocations: 347.5 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.3414, allocations: 8.031 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.3416, allocations: 16.88 kB / 1.287 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.3418, allocations: 142.4 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.3418, allocations: 8.375 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.3418, allocations: 4.375 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.3421, allocations: 90.2 kB / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.3421, allocations: 192 / 1.287 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.3421, allocations: 7.938 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.3421, allocations: 4 kB / 1.288 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002382/0.3423, allocations: 67.88 kB / 1.288 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.3429, allocations: 333.4 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.3431, allocations: 58.55 kB / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.3432, allocations: 40.86 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/0.3432, allocations: 0 / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.3432, allocations: 34.56 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3432, allocations: 0 / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004295/0.3437, allocations: 121.5 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.3437, allocations: 55.41 kB / 1.288 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.3438, allocations: 133.8 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.3439, allocations: 29.7 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.309e-05/0.3439, allocations: 112 kB / 1.288 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.3439, allocations: 7.891 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.475e-05/0.344, allocations: 21.7 kB / 1.288 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3441, allocations: 318.8 kB / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.3443, allocations: 31.97 kB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.3444, allocations: 31.97 kB / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.3446, allocations: 52.81 kB / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3446, allocations: 0 / 1.289 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002637/0.3448, allocations: 109.5 kB / 1.289 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3448, allocations: 6.344 kB / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3448, allocations: 0 / 1.289 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3449, allocations: 4.188 kB / 1.289 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.345, allocations: 15.98 kB / 1.289 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.345, allocations: 3.938 kB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.3451, allocations: 19.97 kB / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.3451, allocations: 0 / 1.289 GB, free: 6.508 MB / 0.9825 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.69e-05/0.3452, allocations: 117.8 kB / 1.289 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.267e-05/0.3452, allocations: 7.953 kB / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.3453, allocations: 16.33 kB / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3453, allocations: 0 / 1.289 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3453, allocations: 3.938 kB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.3453, allocations: 0 / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.3454, allocations: 152.7 kB / 1.289 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3455, allocations: 3.984 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.317e-05/0.3455, allocations: 15.98 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3455, allocations: 4.188 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.3455, allocations: 7.938 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.3455, allocations: 0 / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3455, allocations: 7.875 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.3459, allocations: 191.4 kB / 1.29 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/0.3459, allocations: 7.953 kB / 1.29 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.3459, allocations: 4 kB / 1.29 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.346, allocations: 15.97 kB / 1.29 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.271e-05/0.3461, allocations: 15.92 kB / 1.29 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.3461, allocations: 0 / 1.29 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.096e-05/0.3461, allocations: 107.2 kB / 1.29 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3461, allocations: 0 / 1.29 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002323/0.3464, allocations: 19.89 kB / 1.29 GB, free: 5.75 MB / 0.9825 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.0001141/0.3465, allocations: 99.25 kB / 1.29 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002883/0.3468, allocations: 67.88 kB / 1.29 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3468, allocations: 4 kB / 1.29 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.3469, allocations: 27.97 kB / 1.29 GB, free: 5.547 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.3472, allocations: 12 kB / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00043/0.3476, allocations: 216.8 kB / 1.29 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.3479, allocations: 0.6885 MB / 1.291 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.079e-05/0.3479, allocations: 11.44 kB / 1.291 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3479, allocations: 0 / 1.291 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of Templates: time 0.002765/0.3507, allocations: 1.139 MB / 1.292 GB, free: 3.434 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.873632494010963]