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.001379/0.001379, 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.001596/0.001596, allocations: 217.1 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.523/1.523, 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.912/2.912, allocations: 476.8 MB / 0.7714 GB, free: 4.262 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.002062/0.002062, allocations: 66.3 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3747, allocations: 170 MB / 1.285 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001849/0.3766, allocations: 0.6152 MB / 1.285 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002931/0.3769, allocations: 63.77 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.844e-05/0.3769, allocations: 0 / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.3769, allocations: 3.938 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.745e-06/0.3769, allocations: 0 / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002545/0.3772, allocations: 27.91 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.202e-05/0.3772, allocations: 7.984 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.705e-05/0.3773, allocations: 4 kB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.784e-05/0.3773, allocations: 15.92 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.543e-05/0.3773, allocations: 0 / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.3774, allocations: 4 kB / 1.285 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.17e-05/0.3774, allocations: 11.98 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.3775, allocations: 7.984 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.3775, allocations: 3.938 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.26e-05/0.3776, allocations: 23.91 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3776, allocations: 4 kB / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3776, allocations: 0 / 1.285 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3776, allocations: 0 / 1.285 GB, free: 10.37 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.0003889/0.378, allocations: 252.1 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.378, allocations: 15.97 kB / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.378, allocations: 4.922 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.479e-05/0.3781, allocations: 102.7 kB / 1.286 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.3781, allocations: 4.375 kB / 1.286 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.3782, allocations: 4.375 kB / 1.286 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.3783, allocations: 78.48 kB / 1.286 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.3783, allocations: 192 / 1.286 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.3783, allocations: 3.938 kB / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.3783, allocations: 4 kB / 1.286 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.788e-05/0.3784, allocations: 11.92 kB / 1.286 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.3786, allocations: 160.3 kB / 1.286 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.3787, allocations: 97.05 kB / 1.286 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.871e-05/0.3788, allocations: 32.36 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001563/0.3789, allocations: 11.98 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.3789, allocations: 34.5 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.472e-06/0.3789, allocations: 8 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002108/0.3792, allocations: 73.48 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/0.3792, allocations: 158.2 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.223e-05/0.3793, allocations: 89.86 kB / 1.287 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3793, allocations: 25.7 kB / 1.287 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/0.3794, allocations: 84.77 kB / 1.287 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/0.3794, allocations: 23.83 kB / 1.287 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.3794, allocations: 21.7 kB / 1.287 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3796, allocations: 310.8 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.3796, allocations: 4 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.079e-05/0.3796, allocations: 40.22 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.395e-05/0.3797, allocations: 52.17 kB / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3797, allocations: 0 / 1.287 GB, free: 8.391 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001091/0.3798, allocations: 65.61 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3798, allocations: 8 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3798, allocations: 4.281 kB / 1.287 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.3799, allocations: 11.94 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.929e-05/0.3799, allocations: 11.94 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.3799, allocations: 0 / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.914e-05/0.38, allocations: 3.953 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.38, allocations: 4 kB / 1.287 GB, free: 8.277 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 8.445e-05/0.3801, allocations: 121.8 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.3801, allocations: 0 / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.3803, allocations: 104.5 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3803, allocations: 3.938 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.3803, allocations: 4 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3803, allocations: 0 / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.3804, allocations: 136.7 kB / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3804, allocations: 160 / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.797e-05/0.3805, allocations: 23.98 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.3805, allocations: 0 / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.3805, allocations: 7.938 kB / 1.288 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3805, allocations: 0 / 1.288 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3805, allocations: 4 kB / 1.288 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.3807, allocations: 124.5 kB / 1.288 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.518e-06/0.3807, allocations: 7.922 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.3807, allocations: 11.94 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.066e-05/0.3807, allocations: 4 kB / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.3808, allocations: 11.92 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.3808, allocations: 4 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.193e-05/0.3808, allocations: 75.28 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3808, allocations: 4 kB / 1.288 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002078/0.381, allocations: 12 kB / 1.288 GB, free: 7.543 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.0001598/0.3812, allocations: 95.25 kB / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.3813, allocations: 35.86 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.3813, allocations: 96 / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.499e-05/0.3813, allocations: 32.42 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.3815, allocations: 12.06 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.3818, allocations: 167.7 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.3821, allocations: 0.6768 MB / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.3822, allocations: 15.42 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3822, allocations: 0 / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of Templates: time 0.002367/0.3845, allocations: 0.6873 MB / 1.289 GB, free: 5.746 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/jenkins1/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: 11.52282176000881]