Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.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.001977/0.001977, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002598/0.002598, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.809 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.989/2.989, allocations: 475.9 MB / 0.7699 GB, free: 4.789 MB / 0.6231 GB " [Timeout remaining time 176] 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.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round") [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.00221/0.00221, allocations: 67.28 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3672, allocations: 170 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.002103/0.3693, allocations: 0.6014 MB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000289/0.3696, allocations: 59.78 kB / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.778e-05/0.3696, allocations: 0 / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.3696, allocations: 3.938 kB / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.033e-06/0.3696, allocations: 4 kB / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002603/0.3699, allocations: 15.98 kB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.232e-05/0.3699, allocations: 11.94 kB / 1.284 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.615e-05/0.37, allocations: 3.984 kB / 1.284 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.238e-05/0.37, allocations: 11.98 kB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.985e-05/0.3701, allocations: 7.938 kB / 1.284 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.3701, allocations: 0 / 1.284 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.085e-05/0.3702, allocations: 11.98 kB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.3702, allocations: 0 / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.758e-05/0.3702, allocations: 15.92 kB / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.008e-05/0.3703, allocations: 19.91 kB / 1.284 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3703, allocations: 0 / 1.284 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.106e-06/0.3703, allocations: 4 kB / 1.284 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.3703, allocations: 3.938 kB / 1.284 GB, free: 11.16 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003787/0.3707, allocations: 246.4 kB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.3707, allocations: 8.031 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.366e-05/0.3707, allocations: 8.938 kB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.707e-05/0.3708, allocations: 102.6 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.3709, allocations: 4.375 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.3709, allocations: 4.375 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.371, allocations: 82.47 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.3711, allocations: 192 / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.3711, allocations: 3.938 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3711, allocations: 4 kB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.217e-05/0.3711, allocations: 11.94 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.3713, allocations: 132.8 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.3715, allocations: 96.95 kB / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.173e-05/0.3715, allocations: 32.42 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001637/0.3717, allocations: 15.98 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.3717, allocations: 38.5 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3717, allocations: 8 kB / 1.285 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002238/0.3719, allocations: 69.48 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.372, allocations: 158.2 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.095e-05/0.3721, allocations: 93.8 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.3721, allocations: 29.7 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.581e-05/0.3722, allocations: 84.12 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.745e-05/0.3722, allocations: 16.47 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/0.3723, allocations: 21.7 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.3725, allocations: 314.8 kB / 1.285 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.584e-05/0.3725, allocations: 4 kB / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.081e-05/0.3725, allocations: 40.28 kB / 1.285 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.794e-05/0.3726, allocations: 44.23 kB / 1.285 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3726, allocations: 0 / 1.285 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001237/0.3728, allocations: 73.55 kB / 1.285 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.3728, allocations: 8 kB / 1.285 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3728, allocations: 0 / 1.285 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.3728, allocations: 0 / 1.285 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.872e-05/0.3729, allocations: 11.94 kB / 1.285 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.3729, allocations: 4 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.313e-05/0.3729, allocations: 3.953 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.3729, allocations: 7.984 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * 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.397e-05/0.373, allocations: 121.8 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.373, allocations: 4.156 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.3732, allocations: 104.7 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3732, allocations: 3.938 kB / 1.286 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3732, allocations: 7.938 kB / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3732, allocations: 0 / 1.286 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.3734, allocations: 105.3 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3734, allocations: 4.156 kB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.485e-05/0.3734, allocations: 15.98 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.3734, allocations: 4 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.3734, allocations: 0 / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.3735, allocations: 11.88 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3735, allocations: 3.938 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.3736, allocations: 128.4 kB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.015e-05/0.3736, allocations: 7.938 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.3736, allocations: 0 / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.084e-05/0.3737, allocations: 4 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.3737, allocations: 19.92 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.3737, allocations: 4 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.336e-05/0.3738, allocations: 77.09 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3738, allocations: 0 / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002103/0.374, allocations: 4 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0001715/0.3741, allocations: 109.1 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.3743, allocations: 35.92 kB / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3743, allocations: 320 / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.945e-05/0.3743, allocations: 23.94 kB / 1.286 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001622/0.3745, allocations: 6.656 kB / 1.286 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.3748, allocations: 152.2 kB / 1.286 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.128e-05/0.3749, allocations: 67.33 kB / 1.286 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.422e-05/0.375, allocations: 12.31 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.375, allocations: 11.44 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.375, allocations: 0 / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of Templates: time 0.003281/0.3783, allocations: 0.5421 MB / 1.287 GB, free: 7.41 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.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: 8.96514861099422]