Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 188.3 kB / 22.23 MB, free: 5.098 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 251 MB, free: 13.19 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.148/3.148, allocations: 496 MB / 0.7835 GB, free: 33.6 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 70.7 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3622, allocations: 173.6 MB / 1.307 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001922/0.3641, allocations: 0.6077 MB / 1.308 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003157/0.3644, allocations: 72.17 kB / 1.308 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.941e-05/0.3644, allocations: 0 / 1.308 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.342e-05/0.3644, allocations: 3.938 kB / 1.308 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.566e-06/0.3644, allocations: 0 / 1.308 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.3647, allocations: 19.97 kB / 1.308 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.901e-05/0.3648, allocations: 19.86 kB / 1.308 GB, free: 1 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.35e-05/0.3648, allocations: 0 / 1.308 GB, free: 1 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.114e-05/0.3649, allocations: 4 kB / 1.308 GB, free: 0.9961 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.951e-05/0.3649, allocations: 19.97 kB / 1.308 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.365, allocations: 0 / 1.308 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.155e-05/0.365, allocations: 19.98 kB / 1.308 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.3651, allocations: 3.938 kB / 1.308 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.291e-05/0.3651, allocations: 4 kB / 1.308 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.3652, allocations: 27.78 kB / 1.308 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3652, allocations: 0 / 1.308 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.324e-06/0.3652, allocations: 0 / 1.308 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.3652, allocations: 0 / 1.308 GB, free: 0.9219 MB / 0.9981 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.0004283/0.3656, allocations: 260.3 kB / 1.308 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.3657, allocations: 8.922 kB / 1.308 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.3657, allocations: 0.9375 kB / 1.308 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.915e-05/0.3658, allocations: 106.5 kB / 1.308 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.3658, allocations: 384 / 1.308 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.3658, allocations: 384 / 1.308 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.366, allocations: 74.48 kB / 1.309 GB, free: 416 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.366, allocations: 8.188 kB / 1.309 GB, free: 408 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.366, allocations: 3.938 kB / 1.309 GB, free: 404 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.366, allocations: 3.984 kB / 1.309 GB, free: 400 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.376e-05/0.3661, allocations: 15.92 kB / 1.309 GB, free: 384 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.3663, allocations: 148.2 kB / 1.309 GB, free: 180 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/0.3664, allocations: 97.05 kB / 1.309 GB, free: 36 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.347e-05/0.3665, allocations: 36.48 kB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001764/0.3667, allocations: 8 kB / 1.309 GB, free: 15.97 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.3667, allocations: 38.5 kB / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.3667, allocations: 0 / 1.309 GB, free: 15.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=5): time 0.0002168/0.3669, allocations: 77.48 kB / 1.309 GB, free: 15.84 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.367, allocations: 162.8 kB / 1.309 GB, free: 15.65 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.468e-05/0.3671, allocations: 89.86 kB / 1.309 GB, free: 15.55 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.3671, allocations: 25.7 kB / 1.309 GB, free: 15.52 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.3672, allocations: 84.14 kB / 1.309 GB, free: 15.43 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.515e-05/0.3672, allocations: 23.7 kB / 1.309 GB, free: 15.41 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.3672, allocations: 21.7 kB / 1.309 GB, free: 15.39 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002158/0.3675, allocations: 310.8 kB / 1.31 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.035e-05/0.3675, allocations: 7.938 kB / 1.31 GB, free: 15.07 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.862e-05/0.3675, allocations: 44.28 kB / 1.31 GB, free: 15.01 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.18e-05/0.3676, allocations: 44.36 kB / 1.31 GB, free: 14.95 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/0.3676, allocations: 8 kB / 1.31 GB, free: 14.94 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001071/0.3677, allocations: 65.55 kB / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3677, allocations: 4 kB / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3677, allocations: 0 / 1.31 GB, free: 14.87 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.3678, allocations: 7.938 kB / 1.31 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.199e-05/0.3678, allocations: 12 kB / 1.31 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3678, allocations: 0 / 1.31 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.384e-05/0.3679, allocations: 4 kB / 1.31 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.3679, allocations: 8.141 kB / 1.31 GB, free: 14.84 MB / 1.014 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.371e-05/0.368, allocations: 118.5 kB / 1.31 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/0.368, allocations: 11.94 kB / 1.31 GB, free: 14.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/0.3682, allocations: 104.5 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3682, allocations: 0 / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.3682, allocations: 4 kB / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.3682, allocations: 0 / 1.31 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.3684, allocations: 132.8 kB / 1.31 GB, free: 14.42 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3684, allocations: 4 kB / 1.31 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.163e-05/0.3684, allocations: 15.98 kB / 1.31 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.3684, allocations: 0 / 1.31 GB, free: 14.4 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.3685, allocations: 7.938 kB / 1.31 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3685, allocations: 3.938 kB / 1.31 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.3685, allocations: 8 kB / 1.31 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.3686, allocations: 124.5 kB / 1.31 GB, free: 14.23 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.3686, allocations: 11.89 kB / 1.31 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.3686, allocations: 3.938 kB / 1.31 GB, free: 14.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.296e-05/0.3687, allocations: 8 kB / 1.31 GB, free: 14.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.3687, allocations: 11.98 kB / 1.31 GB, free: 14.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.3687, allocations: 0 / 1.31 GB, free: 14.19 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.566e-05/0.3688, allocations: 79.28 kB / 1.31 GB, free: 14.11 MB / 1.014 GB Notification: Performance of sort global known variables: time 5e-08/0.3688, allocations: 0 / 1.31 GB, free: 14.11 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002156/0.369, allocations: 4 kB / 1.31 GB, free: 14.11 MB / 1.014 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.000163/0.3691, allocations: 103.2 kB / 1.311 GB, free: 14 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000123/0.3693, allocations: 39.86 kB / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3693, allocations: 0 / 1.311 GB, free: 13.96 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.981e-05/0.3693, allocations: 27.92 kB / 1.311 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.3695, allocations: 6.188 kB / 1.311 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000306/0.3698, allocations: 156.8 kB / 1.311 GB, free: 13.73 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.3701, allocations: 0.6807 MB / 1.311 GB, free: 13.03 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.751e-05/0.3702, allocations: 4.25 kB / 1.311 GB, free: 13.02 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.3702, allocations: 11.44 kB / 1.311 GB, free: 13.01 MB / 1.014 GB Notification: Performance of SimCode: time 3.51e-07/0.3702, allocations: 4 kB / 1.311 GB, free: 13.01 MB / 1.014 GB Notification: Performance of Templates: time 0.003199/0.3734, allocations: 0.5905 MB / 1.312 GB, free: 12.42 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.85999002866447]