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.001443/0.001443, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.001636/0.001636, allocations: 161.7 kB / 23.54 MB, free: 0.8945 MB / 18.57 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.58/1.58, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.737/2.737, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.736e-05, allocations: 7.25 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001677/0.001704, allocations: 0.6093 MB / 0.787 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002636/0.001968, allocations: 64.59 kB / 0.7871 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.025e-05/0.001988, allocations: 0 / 0.7871 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.002005, allocations: 4.969 kB / 0.7871 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.592e-06/0.002012, allocations: 0 / 0.7871 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.002271, allocations: 21.06 kB / 0.7871 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.36e-05/0.002324, allocations: 11.92 kB / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.964e-05/0.002364, allocations: 4 kB / 0.7871 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.218e-05/0.002396, allocations: 8.5 kB / 0.7871 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.683e-05/0.002453, allocations: 16.62 kB / 0.7872 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.002467, allocations: 0 / 0.7872 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.584e-05/0.002533, allocations: 9.031 kB / 0.7872 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.00255, allocations: 3.984 kB / 0.7872 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.271e-05/0.002573, allocations: 0 / 0.7872 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001001/0.002673, allocations: 21.59 kB / 0.7872 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.002675, allocations: 0 / 0.7872 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.41e-07/0.002676, allocations: 3.938 kB / 0.7872 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.00268, allocations: 4 kB / 0.7872 GB, free: 12.02 MB / 0.7448 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.0004025/0.003082, allocations: 255.5 kB / 0.7874 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.003121, allocations: 8.031 kB / 0.7874 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.084e-05/0.003171, allocations: 4.938 kB / 0.7875 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.968e-05/0.003271, allocations: 102.5 kB / 0.7875 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.003286, allocations: 4.375 kB / 0.7876 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.003295, allocations: 5.281 kB / 0.7876 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.00344, allocations: 70.48 kB / 0.7876 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.003449, allocations: 1.781 kB / 0.7876 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.00346, allocations: 4.375 kB / 0.7876 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.003465, allocations: 384 / 0.7876 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.639e-05/0.003512, allocations: 19.86 kB / 0.7876 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002033/0.003715, allocations: 132.3 kB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.003848, allocations: 93.03 kB / 0.7879 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.464e-05/0.003902, allocations: 32.48 kB / 0.7879 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001646/0.004067, allocations: 19.91 kB / 0.7879 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.004115, allocations: 34.56 kB / 0.7879 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.004116, allocations: 0 / 0.7879 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0002435/0.004359, allocations: 71.94 kB / 0.788 GB, free: 11 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.004475, allocations: 166.1 kB / 0.7882 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.004621, allocations: 89.86 kB / 0.7883 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.004642, allocations: 25.7 kB / 0.7883 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.004687, allocations: 80.14 kB / 0.7884 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.03e-05/0.004737, allocations: 25.36 kB / 0.7884 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.004783, allocations: 21.72 kB / 0.7884 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.004967, allocations: 319.8 kB / 0.7887 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/0.004989, allocations: 4 kB / 0.7887 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.171e-05/0.005041, allocations: 36.3 kB / 0.7887 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.17e-05/0.005132, allocations: 50.31 kB / 0.7888 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.005134, allocations: 1.312 kB / 0.7888 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00013/0.005264, allocations: 66.44 kB / 0.7889 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.00528, allocations: 8 kB / 0.7889 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.005286, allocations: 1.719 kB / 0.7889 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.005304, allocations: 0 / 0.7889 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.05e-05/0.005385, allocations: 19.92 kB / 0.7889 GB, free: 10 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.059e-05/0.005405, allocations: 7.938 kB / 0.7889 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.617e-05/0.005442, allocations: 7.875 kB / 0.7889 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.005454, allocations: 4.625 kB / 0.7889 GB, free: 9.98 MB / 0.7448 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.004e-05/0.005544, allocations: 110.5 kB / 0.789 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.00557, allocations: 11.98 kB / 0.789 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002171/0.005787, allocations: 96 kB / 0.7891 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.00579, allocations: 0 / 0.7891 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.005797, allocations: 4 kB / 0.7891 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.005803, allocations: 3.984 kB / 0.7891 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.005942, allocations: 114.4 kB / 0.7892 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.005944, allocations: 0 / 0.7892 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.797e-05/0.006012, allocations: 19.98 kB / 0.7893 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.006014, allocations: 0.9062 kB / 0.7893 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.006025, allocations: 4 kB / 0.7893 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.006029, allocations: 8.734 kB / 0.7893 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.006031, allocations: 0 / 0.7893 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.006216, allocations: 125.4 kB / 0.7894 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.707e-05/0.006233, allocations: 15.88 kB / 0.7894 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.006247, allocations: 9.219 kB / 0.7894 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.1e-05/0.006278, allocations: 0 / 0.7894 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.006314, allocations: 11.92 kB / 0.7894 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.13e-06/0.006319, allocations: 4.844 kB / 0.7894 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.178e-05/0.006361, allocations: 75.28 kB / 0.7895 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.006361, allocations: 4 kB / 0.7895 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002208/0.006582, allocations: 10.22 kB / 0.7895 GB, free: 9.297 MB / 0.7448 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.0001573/0.006739, allocations: 99.19 kB / 0.7896 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.006856, allocations: 34.83 kB / 0.7896 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.006861, allocations: 4 kB / 0.7896 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.334e-05/0.006904, allocations: 23.92 kB / 0.7897 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.007068, allocations: 8 kB / 0.7897 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003473/0.007415, allocations: 155.9 kB / 0.7898 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.571e-05/0.007481, allocations: 60.83 kB / 0.7899 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.211e-05/0.007523, allocations: 9.984 kB / 0.7899 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.007559, allocations: 16.44 kB / 0.7899 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.00756, allocations: 1.125 kB / 0.7899 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of Templates: time 0.003136/0.0107, allocations: 0.5526 MB / 0.7904 GB, free: 8.301 MB / 0.7448 GB " [Timeout remaining time 300] 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: 7.525190704036504]