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.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.001401/0.001401, allocations: 118.2 kB / 17.13 MB, free: 5.945 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.00252/0.00252, allocations: 209.5 kB / 20.09 MB, free: 2.996 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.535/1.535, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.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.98/2.98, allocations: 0.49 GB / 0.7923 GB, free: 1.293 MB / 0.6231 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.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: 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.002299/0.002299, allocations: 71.91 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9862/0.9885, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001529/0.9901, allocations: 0.596 MB / 1.323 GB, free: 24.67 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002359/0.9903, allocations: 70.53 kB / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.671e-05/0.9903, allocations: 6.875 kB / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.9903, allocations: 0 / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.083e-06/0.9904, allocations: 0 / 1.323 GB, free: 24.62 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.9906, allocations: 22.39 kB / 1.323 GB, free: 24.61 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.481e-05/0.9906, allocations: 13.7 kB / 1.323 GB, free: 24.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.39e-05/0.9907, allocations: 7.422 kB / 1.323 GB, free: 24.6 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.807e-05/0.9907, allocations: 8.688 kB / 1.323 GB, free: 24.6 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.536e-05/0.9907, allocations: 2.969 kB / 1.323 GB, free: 24.6 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.9907, allocations: 2.469 kB / 1.323 GB, free: 24.6 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.083e-05/0.9908, allocations: 12.55 kB / 1.323 GB, free: 24.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.9908, allocations: 10.14 kB / 1.323 GB, free: 24.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.9908, allocations: 11.92 kB / 1.323 GB, free: 24.58 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 7.895e-05/0.9909, allocations: 15.48 kB / 1.323 GB, free: 24.58 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.9909, allocations: 0 / 1.323 GB, free: 24.58 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9909, allocations: 0 / 1.323 GB, free: 24.58 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.9909, allocations: 0 / 1.323 GB, free: 24.58 MB / 1.061 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.0002914/0.9912, allocations: 326.2 kB / 1.323 GB, free: 24.23 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.9913, allocations: 12.95 kB / 1.323 GB, free: 24.22 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.9913, allocations: 4.891 kB / 1.323 GB, free: 24.22 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.506e-05/0.9913, allocations: 174.3 kB / 1.323 GB, free: 24.02 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.9914, allocations: 4.312 kB / 1.323 GB, free: 24.01 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-06/0.9914, allocations: 3.344 kB / 1.323 GB, free: 24.01 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.9915, allocations: 67.72 kB / 1.323 GB, free: 23.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.9915, allocations: 192 / 1.323 GB, free: 23.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.9915, allocations: 7.094 kB / 1.323 GB, free: 23.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.9915, allocations: 3.375 kB / 1.323 GB, free: 23.93 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.182e-05/0.9915, allocations: 17.62 kB / 1.323 GB, free: 23.92 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.9917, allocations: 178.1 kB / 1.324 GB, free: 23.69 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.002e-05/0.9917, allocations: 100.2 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.845e-05/0.9918, allocations: 38.14 kB / 1.324 GB, free: 23.51 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001452/0.9919, allocations: 87.42 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.9919, allocations: 37.38 kB / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.9919, allocations: 0 / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.0001686/0.9921, allocations: 75.73 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.9921, allocations: 158.2 kB / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.76e-05/0.9922, allocations: 93.14 kB / 1.324 GB, free: 23.03 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.9922, allocations: 29.7 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.037e-05/0.9922, allocations: 88.08 kB / 1.324 GB, free: 22.91 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.9922, allocations: 17.59 kB / 1.324 GB, free: 22.89 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.604e-05/0.9922, allocations: 16.31 kB / 1.324 GB, free: 22.88 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.011e-05/0.9923, allocations: 314.1 kB / 1.325 GB, free: 22.56 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.652e-05/0.9923, allocations: 5.844 kB / 1.325 GB, free: 22.56 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.379e-05/0.9923, allocations: 33.8 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.179e-05/0.9924, allocations: 50.31 kB / 1.325 GB, free: 22.47 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.9924, allocations: 2.844 kB / 1.325 GB, free: 22.47 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.415e-05/0.9925, allocations: 74.16 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.9925, allocations: 5.094 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.9925, allocations: 3 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.9925, allocations: 3.938 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.855e-05/0.9926, allocations: 8.656 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.9926, allocations: 10.19 kB / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.702e-05/0.9926, allocations: 0 / 1.325 GB, free: 22.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.9926, allocations: 2.781 kB / 1.325 GB, free: 22.41 MB / 1.061 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 4.47e-05/0.9926, allocations: 116.8 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.9927, allocations: 2.75 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.9928, allocations: 101.1 kB / 1.325 GB, free: 22.22 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.9928, allocations: 7.406 kB / 1.325 GB, free: 22.22 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.9928, allocations: 2.906 kB / 1.325 GB, free: 22.22 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.9928, allocations: 6.719 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.308e-05/0.9929, allocations: 173.3 kB / 1.325 GB, free: 22.01 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.9929, allocations: 0 / 1.325 GB, free: 22.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.993, allocations: 20.89 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.993, allocations: 2.938 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.993, allocations: 3.938 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.993, allocations: 2.531 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.993, allocations: 2.781 kB / 1.325 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.9931, allocations: 122.3 kB / 1.325 GB, free: 21.88 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.593e-05/0.9931, allocations: 79.89 kB / 1.325 GB, free: 21.79 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.9931, allocations: 6.719 kB / 1.325 GB, free: 21.79 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.811e-05/0.9932, allocations: 4 kB / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.9932, allocations: 12.09 kB / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.9932, allocations: 2.906 kB / 1.325 GB, free: 21.78 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.156e-05/0.9932, allocations: 75.28 kB / 1.325 GB, free: 21.7 MB / 1.061 GB Notification: Performance of sort global known variables: time 5e-08/0.9932, allocations: 2.688 kB / 1.325 GB, free: 21.7 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002014/0.9934, allocations: 9.594 kB / 1.325 GB, free: 21.7 MB / 1.061 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.0001369/0.9935, allocations: 113.2 kB / 1.326 GB, free: 21.6 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001017/0.9936, allocations: 33.02 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9936, allocations: 4.062 kB / 1.326 GB, free: 21.59 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.925e-05/0.9937, allocations: 24.31 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.9938, allocations: 15.33 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002394/0.9941, allocations: 174.1 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.069e-05/0.9941, allocations: 0.6841 MB / 1.326 GB, free: 20.69 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.203e-05/0.9942, allocations: 9.969 kB / 1.326 GB, free: 20.68 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.9942, allocations: 0 / 1.326 GB, free: 20.68 MB / 1.061 GB Notification: Performance of Templates: time 0.001983/0.9961, allocations: 0.6893 MB / 1.327 GB, free: 20.63 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.519323604006786]