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.001653/0.001653, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001985/0.001985, allocations: 218.6 kB / 23 MB, free: 4.914 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.926/2.926, allocations: 476 MB / 0.7707 GB, free: 4.73 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.0024/0.0024, allocations: 66.94 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3971, allocations: 170 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001998/0.3991, allocations: 0.6001 MB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003096/0.3994, allocations: 59.78 kB / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.983e-05/0.3994, allocations: 0 / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.334e-05/0.3994, allocations: 7.875 kB / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.365e-06/0.3994, allocations: 0 / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002802/0.3997, allocations: 19.97 kB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.872e-05/0.3998, allocations: 11.98 kB / 1.285 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.47e-05/0.3998, allocations: 7.938 kB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.945e-05/0.3999, allocations: 4 kB / 1.285 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.743e-05/0.3999, allocations: 11.92 kB / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.3999, allocations: 0 / 1.285 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.007e-05/0.4, allocations: 16 kB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.4, allocations: 3.984 kB / 1.285 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.4, allocations: 11.92 kB / 1.285 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.4002, allocations: 27.84 kB / 1.285 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4002, allocations: 0 / 1.285 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.244e-06/0.4002, allocations: 0 / 1.285 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.4002, allocations: 0 / 1.285 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.0004222/0.4006, allocations: 246.4 kB / 1.285 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.4006, allocations: 12.03 kB / 1.285 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.826e-05/0.4007, allocations: 4.938 kB / 1.285 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.713e-05/0.4008, allocations: 110.6 kB / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.4008, allocations: 384 / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.4008, allocations: 4.375 kB / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.401, allocations: 74.48 kB / 1.285 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.401, allocations: 192 / 1.285 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.401, allocations: 7.938 kB / 1.285 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.401, allocations: 0 / 1.285 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.659e-05/0.401, allocations: 19.92 kB / 1.285 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.4012, allocations: 124.8 kB / 1.285 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.4014, allocations: 96.98 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.4014, allocations: 40.47 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/0.4016, allocations: 4 kB / 1.285 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.4016, allocations: 42.5 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.312e-06/0.4016, allocations: 0 / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002172/0.4018, allocations: 73.48 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.402, allocations: 158.2 kB / 1.286 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.253e-05/0.402, allocations: 90.48 kB / 1.286 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.4021, allocations: 29.7 kB / 1.286 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.4021, allocations: 88.08 kB / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.4021, allocations: 15.83 kB / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.4022, allocations: 17.72 kB / 1.286 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4023, allocations: 318.8 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.281e-05/0.4024, allocations: 11.98 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.829e-05/0.4024, allocations: 32.23 kB / 1.286 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.086e-05/0.4025, allocations: 52.22 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.4025, allocations: 8 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001045/0.4026, allocations: 61.56 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.4026, allocations: 4 kB / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4026, allocations: 0 / 1.286 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4026, allocations: 4 kB / 1.286 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.047e-05/0.4027, allocations: 15.92 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4027, allocations: 0 / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.271e-05/0.4027, allocations: 7.953 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.4028, allocations: 4.156 kB / 1.286 GB, free: 9.109 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.2e-05/0.4028, allocations: 117.8 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.4029, allocations: 7.938 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.4031, allocations: 96.53 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.4031, allocations: 3.938 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.4031, allocations: 8.156 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4031, allocations: 3.984 kB / 1.287 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.4032, allocations: 117.2 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.4032, allocations: 4.125 kB / 1.287 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.014e-05/0.4033, allocations: 16 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4033, allocations: 0 / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.4033, allocations: 4 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4033, allocations: 3.984 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.4033, allocations: 7.875 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/0.4035, allocations: 124.5 kB / 1.287 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-06/0.4035, allocations: 8 kB / 1.287 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.4035, allocations: 4 kB / 1.287 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.969e-05/0.4035, allocations: 4 kB / 1.287 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.4036, allocations: 11.92 kB / 1.287 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.331e-06/0.4036, allocations: 4 kB / 1.287 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.214e-05/0.4036, allocations: 77.09 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.4036, allocations: 0 / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002045/0.4038, allocations: 12 kB / 1.287 GB, free: 8.414 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.0001682/0.404, allocations: 99.23 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.4041, allocations: 39.86 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.4041, allocations: 3.938 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.037e-05/0.4041, allocations: 27.92 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.4043, allocations: 6.5 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.4047, allocations: 169.9 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.794e-05/0.4047, allocations: 63.97 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.4048, allocations: 11.44 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.4048, allocations: 4 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of Templates: time 0.002462/0.4072, allocations: 0.6952 MB / 1.288 GB, free: 7.227 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.617961736861616]