Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001428/0.001428, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 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.00168/0.00168, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.461/1.461, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.265/3.265, allocations: 429.6 MB / 0.673 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0.6562 kB / 0.8776 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.761e-05, allocations: 4.844 kB / 0.8776 GB, free: 6.445 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001613/0.001641, allocations: 0.6164 MB / 0.8782 GB, free: 5.852 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002457/0.001886, allocations: 60.92 kB / 0.8783 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.681e-05/0.001903, allocations: 1.125 kB / 0.8783 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.148e-05/0.001915, allocations: 0 / 0.8783 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.973e-06/0.001922, allocations: 0 / 0.8783 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.002153, allocations: 20.98 kB / 0.8783 GB, free: 5.773 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.54e-05/0.002198, allocations: 13.08 kB / 0.8783 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.845e-05/0.002237, allocations: 5.203 kB / 0.8783 GB, free: 5.758 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.921e-05/0.002266, allocations: 8.75 kB / 0.8783 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.385e-05/0.00233, allocations: 4.547 kB / 0.8784 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.002342, allocations: 1.781 kB / 0.8784 GB, free: 5.746 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.099e-05/0.002413, allocations: 17.3 kB / 0.8784 GB, free: 5.73 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.00243, allocations: 3.984 kB / 0.8784 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.002451, allocations: 4.547 kB / 0.8784 GB, free: 5.723 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.486e-05/0.002546, allocations: 23.91 kB / 0.8784 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.002548, allocations: 2.781 kB / 0.8784 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002548, allocations: 0 / 0.8784 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.956e-06/0.002551, allocations: 0 / 0.8784 GB, free: 5.699 MB / 0.8386 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.000376/0.002927, allocations: 250.3 kB / 0.8786 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.002961, allocations: 12.03 kB / 0.8787 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.003003, allocations: 0.9375 kB / 0.8787 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.871e-05/0.003102, allocations: 110.5 kB / 0.8788 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.003113, allocations: 384 / 0.8788 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.003125, allocations: 6.031 kB / 0.8788 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.003288, allocations: 74.53 kB / 0.8788 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.003301, allocations: 4.125 kB / 0.8788 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.003311, allocations: 384 / 0.8788 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.003316, allocations: 384 / 0.8788 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.144e-05/0.003357, allocations: 16.38 kB / 0.8789 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.003543, allocations: 138.5 kB / 0.879 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.003675, allocations: 93.11 kB / 0.8791 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.706e-05/0.003733, allocations: 37.03 kB / 0.8791 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/0.003875, allocations: 9.328 kB / 0.8791 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.003916, allocations: 38.56 kB / 0.8792 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.003917, allocations: 0 / 0.8792 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0002248/0.004142, allocations: 83.08 kB / 0.8792 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.004253, allocations: 154.8 kB / 0.8794 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.345e-05/0.004306, allocations: 89.86 kB / 0.8795 GB, free: 4.371 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.004327, allocations: 29.7 kB / 0.8795 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.167e-05/0.004368, allocations: 84.14 kB / 0.8796 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.004402, allocations: 11.91 kB / 0.8796 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.004444, allocations: 21.7 kB / 0.8796 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.004618, allocations: 322.8 kB / 0.8799 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.004634, allocations: 0 / 0.8799 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.007e-05/0.004684, allocations: 40.28 kB / 0.88 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.071e-05/0.004775, allocations: 52.17 kB / 0.88 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.004776, allocations: 4.062 kB / 0.88 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001234/0.0049, allocations: 73.56 kB / 0.8801 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.004914, allocations: 4 kB / 0.8801 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.004919, allocations: 0 / 0.8801 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.004935, allocations: 4 kB / 0.8801 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.306e-05/0.005008, allocations: 11.94 kB / 0.8801 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.005013, allocations: 0 / 0.8801 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.038e-05/0.005063, allocations: 20.03 kB / 0.8801 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.005074, allocations: 3.984 kB / 0.8801 GB, free: 3.641 MB / 0.8386 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.655e-05/0.005161, allocations: 109.8 kB / 0.8802 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.005185, allocations: 8 kB / 0.8802 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002085/0.005393, allocations: 92.53 kB / 0.8803 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.005398, allocations: 8.156 kB / 0.8803 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.005402, allocations: 0 / 0.8803 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.005407, allocations: 4 kB / 0.8803 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.005544, allocations: 117.2 kB / 0.8804 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.005546, allocations: 0 / 0.8804 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.09e-05/0.005617, allocations: 23.92 kB / 0.8805 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.005622, allocations: 4 kB / 0.8805 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.00563, allocations: 0 / 0.8805 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.005638, allocations: 4 kB / 0.8805 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.005639, allocations: 0 / 0.8805 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.00582, allocations: 128.4 kB / 0.8806 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.403e-05/0.005834, allocations: 11.94 kB / 0.8806 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.005848, allocations: 4 kB / 0.8806 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.349e-05/0.005882, allocations: 4 kB / 0.8806 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.472e-05/0.005906, allocations: 11.92 kB / 0.8806 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.005914, allocations: 4 kB / 0.8806 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.964e-05/0.005963, allocations: 79.22 kB / 0.8807 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.005963, allocations: 0 / 0.8807 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000223/0.006187, allocations: 12 kB / 0.8807 GB, free: 2.949 MB / 0.8386 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.0001478/0.006334, allocations: 99.23 kB / 0.8808 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.006446, allocations: 39.92 kB / 0.8809 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.006448, allocations: 0 / 0.8809 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.23e-05/0.00649, allocations: 19.94 kB / 0.8809 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001631/0.006653, allocations: 16.02 kB / 0.8809 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.006975, allocations: 155.9 kB / 0.881 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.915e-05/0.007044, allocations: 63.97 kB / 0.8811 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.547e-05/0.00708, allocations: 8 kB / 0.8811 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.007113, allocations: 12.5 kB / 0.8811 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/0.007113, allocations: 0 / 0.8811 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of Templates: time 0.003059/0.01017, allocations: 0.5747 MB / 0.8817 GB, free: 1.906 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.02141282404773]