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.001872/0.001872, allocations: 87.69 kB / 20.23 MB, free: 4.188 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.001921/0.001921, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.56/1.56, allocations: 177.1 MB / 203.9 MB, free: 5.625 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.93/2.93, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.372e-06/1.372e-06, allocations: 0 / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.218e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001631/0.001653, allocations: 0.6045 MB / 0.787 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002459/0.001899, allocations: 64.48 kB / 0.7871 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.776e-05/0.001917, allocations: 0 / 0.7871 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.177e-05/0.001929, allocations: 0.5 kB / 0.7871 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.352e-06/0.001935, allocations: 1.25 kB / 0.7871 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.002163, allocations: 23.91 kB / 0.7871 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.141e-05/0.002214, allocations: 17.42 kB / 0.7871 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.403e-05/0.002248, allocations: 0 / 0.7871 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.269e-05/0.002281, allocations: 7.984 kB / 0.7871 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.968e-05/0.002331, allocations: 11.98 kB / 0.7871 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.002352, allocations: 1.094 kB / 0.7871 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.616e-05/0.002418, allocations: 8 kB / 0.7872 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.002433, allocations: 3.984 kB / 0.7872 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.077e-05/0.002453, allocations: 8.609 kB / 0.7872 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.199e-05/0.002545, allocations: 23.86 kB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.002547, allocations: 1.406 kB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.81e-07/0.002548, allocations: 0 / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.002551, allocations: 0 / 0.7872 GB, free: 11.98 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.0004344/0.002985, allocations: 353.4 kB / 0.7875 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.003022, allocations: 12.03 kB / 0.7875 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.003059, allocations: 0.9375 kB / 0.7875 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.879e-05/0.003158, allocations: 109.6 kB / 0.7876 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.003175, allocations: 8.375 kB / 0.7877 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-06/0.003182, allocations: 384 / 0.7877 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.003339, allocations: 81.84 kB / 0.7877 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.003347, allocations: 4.188 kB / 0.7877 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.003356, allocations: 384 / 0.7877 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.003359, allocations: 2.031 kB / 0.7877 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.804e-05/0.003407, allocations: 23.8 kB / 0.7878 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.003606, allocations: 147.4 kB / 0.7879 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.003783, allocations: 141.8 kB / 0.788 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.443e-05/0.003847, allocations: 46.44 kB / 0.7881 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.003975, allocations: 8 kB / 0.7881 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/0.004019, allocations: 45.38 kB / 0.7881 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.00402, allocations: 1.344 kB / 0.7881 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0002257/0.004245, allocations: 76.41 kB / 0.7882 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003223/0.004568, allocations: 158.2 kB / 0.7884 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.103e-05/0.004659, allocations: 146.2 kB / 0.7885 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.004677, allocations: 25.7 kB / 0.7885 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.372e-05/0.004741, allocations: 126.9 kB / 0.7886 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.734e-05/0.004788, allocations: 27.83 kB / 0.7887 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.00483, allocations: 24.09 kB / 0.7887 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002569/0.005087, allocations: 0.4883 MB / 0.7892 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.926e-05/0.005106, allocations: 4.531 kB / 0.7892 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.934e-05/0.005165, allocations: 50.44 kB / 0.7892 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.005271, allocations: 64.89 kB / 0.7893 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.005273, allocations: 3.938 kB / 0.7893 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001188/0.005391, allocations: 66.75 kB / 0.7894 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.005406, allocations: 7.625 kB / 0.7894 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.00541, allocations: 0 / 0.7894 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.005425, allocations: 4 kB / 0.7894 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.996e-05/0.005505, allocations: 19.92 kB / 0.7894 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.00551, allocations: 0 / 0.7894 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.005544, allocations: 9.125 kB / 0.7894 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.005551, allocations: 0 / 0.7894 GB, free: 9.379 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 0.0001113/0.005663, allocations: 157.1 kB / 0.7895 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.005683, allocations: 8 kB / 0.7895 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.005898, allocations: 103.8 kB / 0.7896 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.005903, allocations: 4 kB / 0.7897 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.005906, allocations: 0 / 0.7897 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.005911, allocations: 4 kB / 0.7897 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.006059, allocations: 129.5 kB / 0.7898 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.006063, allocations: 4 kB / 0.7898 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.781e-05/0.006141, allocations: 20.47 kB / 0.7898 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.006148, allocations: 8.703 kB / 0.7898 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.006155, allocations: 0 / 0.7898 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.698e-06/0.006165, allocations: 8.516 kB / 0.7898 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.006166, allocations: 0 / 0.7898 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.006369, allocations: 148.4 kB / 0.79 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.251e-05/0.006382, allocations: 11.95 kB / 0.79 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.006396, allocations: 4.797 kB / 0.79 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.57e-05/0.006432, allocations: 8 kB / 0.79 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.006459, allocations: 7.938 kB / 0.79 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.006468, allocations: 8.922 kB / 0.79 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.04e-05/0.006529, allocations: 119.2 kB / 0.7901 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006529, allocations: 1.344 kB / 0.7901 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001994/0.006728, allocations: 8 kB / 0.7901 GB, free: 8.547 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.0001502/0.006878, allocations: 104 kB / 0.7902 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.007001, allocations: 41.61 kB / 0.7903 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.007002, allocations: 0 / 0.7903 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.319e-05/0.007065, allocations: 35.61 kB / 0.7903 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.007212, allocations: 12.66 kB / 0.7903 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.007532, allocations: 172.3 kB / 0.7905 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.372e-05/0.007596, allocations: 63.34 kB / 0.7905 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.61e-05/0.007632, allocations: 8.25 kB / 0.7905 GB, free: 8.043 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.007659, allocations: 13.09 kB / 0.7906 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.007659, allocations: 0 / 0.7906 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of Templates: time 0.003166/0.01082, allocations: 0.5594 MB / 0.7911 GB, free: 7.496 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] 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.907362986938097]