Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001717/0.001717, allocations: 79.75 kB / 19.76 MB, free: 2.02 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.002087/0.002087, allocations: 156.5 kB / 23 MB, free: 4.949 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.475/1.475, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.858/2.858, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002364/0.002364, allocations: 63.91 kB / 0.982 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.065, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Greater): time 0.001803/1.066, allocations: 0.8268 MB / 1.155 GB, free: 32.83 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009271/1.067, allocations: 0.9283 MB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.671e-05/1.067, allocations: 2.562 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001277/1.068, allocations: 21.69 kB / 1.156 GB, free: 32.11 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.84e-05/1.068, allocations: 14.38 kB / 1.156 GB, free: 32.1 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002066/1.068, allocations: 39.05 kB / 1.156 GB, free: 32.08 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/1.068, allocations: 103 kB / 1.156 GB, free: 32.03 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/1.068, allocations: 37.34 kB / 1.156 GB, free: 32.01 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/1.068, allocations: 42.72 kB / 1.156 GB, free: 31.99 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 6.676e-05/1.068, allocations: 31.12 kB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/1.068, allocations: 13.22 kB / 1.156 GB, free: 31.97 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 4.503e-05/1.068, allocations: 18.17 kB / 1.156 GB, free: 31.96 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/1.068, allocations: 17.72 kB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/1.068, allocations: 34.28 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/1.069, allocations: 101.4 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/1.069, allocations: 3.328 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.523e-06/1.069, allocations: 0 / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.44e-06/1.069, allocations: 0 / 1.156 GB, free: 31.89 MB / 1.076 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.0005471/1.069, allocations: 346.8 kB / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/1.069, allocations: 9.469 kB / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/1.069, allocations: 19.72 kB / 1.156 GB, free: 31.58 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/1.07, allocations: 143.5 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/1.07, allocations: 11.22 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/1.07, allocations: 9.672 kB / 1.157 GB, free: 31.42 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/1.07, allocations: 84.66 kB / 1.157 GB, free: 31.38 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.07, allocations: 4.188 kB / 1.157 GB, free: 31.37 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/1.07, allocations: 10.78 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/1.07, allocations: 0 / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/1.07, allocations: 69.88 kB / 1.157 GB, free: 31.35 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/1.07, allocations: 274.9 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/1.071, allocations: 65.22 kB / 1.157 GB, free: 31.08 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/1.071, allocations: 34.34 kB / 1.157 GB, free: 31.06 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/1.071, allocations: 0 / 1.157 GB, free: 31.06 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/1.071, allocations: 44.86 kB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/1.071, allocations: 0 / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0004086/1.071, allocations: 116.5 kB / 1.157 GB, free: 30.96 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.547e-05/1.071, allocations: 54.55 kB / 1.157 GB, free: 30.9 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.445e-05/1.071, allocations: 132.5 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/1.071, allocations: 29.7 kB / 1.158 GB, free: 30.76 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/1.071, allocations: 108.4 kB / 1.158 GB, free: 30.66 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/1.071, allocations: 9.844 kB / 1.158 GB, free: 30.65 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/1.071, allocations: 19.28 kB / 1.158 GB, free: 30.63 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.992e-05/1.071, allocations: 326.1 kB / 1.158 GB, free: 30.31 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/1.072, allocations: 31.75 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/1.072, allocations: 39.2 kB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/1.072, allocations: 54.69 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.072, allocations: 0 / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000233/1.072, allocations: 101 kB / 1.158 GB, free: 30.22 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/1.072, allocations: 5.188 kB / 1.158 GB, free: 30.22 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/1.072, allocations: 0 / 1.158 GB, free: 30.22 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/1.072, allocations: 6.812 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.726e-05/1.072, allocations: 11.67 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/1.072, allocations: 2.625 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.75e-05/1.072, allocations: 15.05 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/1.072, allocations: 5.812 kB / 1.158 GB, free: 30.21 MB / 1.076 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 6.187e-05/1.072, allocations: 119.9 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/1.072, allocations: 6.578 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.964e-05/1.072, allocations: 11.22 kB / 1.158 GB, free: 30.07 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/1.072, allocations: 4 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/1.072, allocations: 0 / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/1.072, allocations: 3.938 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001145/1.073, allocations: 132.6 kB / 1.158 GB, free: 29.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.073, allocations: 0 / 1.158 GB, free: 29.92 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.468e-05/1.073, allocations: 11.23 kB / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/1.073, allocations: 0 / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/1.073, allocations: 9.75 kB / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.073, allocations: 0 / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/1.073, allocations: 0 / 1.159 GB, free: 29.92 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/1.073, allocations: 198.5 kB / 1.159 GB, free: 29.76 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/1.073, allocations: 7.031 kB / 1.159 GB, free: 29.76 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/1.073, allocations: 0 / 1.159 GB, free: 29.76 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/1.073, allocations: 14.89 kB / 1.159 GB, free: 29.76 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/1.073, allocations: 20.25 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/1.073, allocations: 0 / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.301e-05/1.073, allocations: 104.5 kB / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.073, allocations: 0 / 1.159 GB, free: 29.66 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002249/1.073, allocations: 23.08 kB / 1.159 GB, free: 29.65 MB / 1.076 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 8.517e-05/1.073, allocations: 95.84 kB / 1.159 GB, free: 29.57 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002697/1.074, allocations: 67.53 kB / 1.159 GB, free: 29.55 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/1.074, allocations: 0 / 1.159 GB, free: 29.55 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/1.074, allocations: 40.34 kB / 1.159 GB, free: 29.54 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/1.074, allocations: 11.84 kB / 1.159 GB, free: 29.54 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/1.074, allocations: 190.1 kB / 1.159 GB, free: 29.38 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.391e-05/1.074, allocations: 84.09 kB / 1.159 GB, free: 29.3 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.973e-05/1.075, allocations: 7.031 kB / 1.159 GB, free: 29.3 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.634e-05/1.075, allocations: 15.06 kB / 1.159 GB, free: 29.29 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/1.075, allocations: 0 / 1.159 GB, free: 29.29 MB / 1.076 GB Notification: Performance of Templates: time 0.003608/1.078, allocations: 1.078 MB / 1.16 GB, free: 29.16 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Greater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Greater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.199262940092012]