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.00128/0.00128, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.001328/0.001328, allocations: 164.1 kB / 23.01 MB, free: 4.602 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.41/1.41, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.929/2.929, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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.002134/0.002134, allocations: 63.89 kB / 0.982 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8286/0.8307, allocations: 176.1 MB / 1.154 GB, free: 33.27 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001466/0.8322, allocations: 0.5984 MB / 1.155 GB, free: 32.9 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0002367/0.8324, allocations: 66.23 kB / 1.155 GB, free: 32.86 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.678e-05/0.8324, allocations: 0 / 1.155 GB, free: 32.86 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.566e-05/0.8324, allocations: 0 / 1.155 GB, free: 32.86 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.512e-06/0.8324, allocations: 0 / 1.155 GB, free: 32.86 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.8327, allocations: 22.94 kB / 1.155 GB, free: 32.85 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 4.419e-05/0.8327, allocations: 9.656 kB / 1.155 GB, free: 32.85 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.92e-05/0.8328, allocations: 10.27 kB / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.577e-05/0.8328, allocations: 10.61 kB / 1.155 GB, free: 32.84 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.243e-05/0.8328, allocations: 6.719 kB / 1.155 GB, free: 32.83 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.8328, allocations: 2.906 kB / 1.155 GB, free: 32.83 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.232e-05/0.8329, allocations: 12.66 kB / 1.155 GB, free: 32.83 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.8329, allocations: 6.172 kB / 1.155 GB, free: 32.83 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.567e-05/0.8329, allocations: 3.984 kB / 1.155 GB, free: 32.82 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 7.721e-05/0.833, allocations: 21.11 kB / 1.155 GB, free: 32.82 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.833, allocations: 2.594 kB / 1.155 GB, free: 32.82 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.733e-06/0.833, allocations: 4 kB / 1.155 GB, free: 32.81 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.833, allocations: 0 / 1.155 GB, free: 32.81 MB / 1.076 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.000269/0.8333, allocations: 251.6 kB / 1.155 GB, free: 32.55 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.8333, allocations: 8.344 kB / 1.155 GB, free: 32.55 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.699e-05/0.8333, allocations: 4.938 kB / 1.155 GB, free: 32.55 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.585e-05/0.8334, allocations: 109.2 kB / 1.155 GB, free: 32.42 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-06/0.8334, allocations: 384 / 1.155 GB, free: 32.42 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.8334, allocations: 3 kB / 1.155 GB, free: 32.42 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.8335, allocations: 73.78 kB / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.8335, allocations: 192 / 1.155 GB, free: 32.34 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-06/0.8335, allocations: 14.81 kB / 1.155 GB, free: 32.33 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.8335, allocations: 3.938 kB / 1.155 GB, free: 32.33 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.141e-05/0.8336, allocations: 15.58 kB / 1.155 GB, free: 32.32 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001064/0.8337, allocations: 126.2 kB / 1.155 GB, free: 32.16 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.564e-05/0.8337, allocations: 96.58 kB / 1.155 GB, free: 32.04 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.694e-05/0.8338, allocations: 33.52 kB / 1.155 GB, free: 31.99 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001356/0.8339, allocations: 9.078 kB / 1.155 GB, free: 31.99 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.34e-05/0.8339, allocations: 37.12 kB / 1.155 GB, free: 31.95 MB / 1.076 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.8339, allocations: 0 / 1.155 GB, free: 31.95 MB / 1.076 GB Notification: Performance of matching and sorting (n=5): time 0.0001579/0.8341, allocations: 76.83 kB / 1.156 GB, free: 31.9 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.8341, allocations: 165 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.401e-05/0.8341, allocations: 89.86 kB / 1.156 GB, free: 31.61 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.592e-06/0.8341, allocations: 25.7 kB / 1.156 GB, free: 31.57 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.686e-06/0.8341, allocations: 80.14 kB / 1.156 GB, free: 31.49 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.8342, allocations: 26.33 kB / 1.156 GB, free: 31.47 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.8342, allocations: 18.83 kB / 1.156 GB, free: 31.45 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.482e-05/0.8342, allocations: 315.5 kB / 1.156 GB, free: 31.14 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.8342, allocations: 9.969 kB / 1.156 GB, free: 31.13 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.134e-05/0.8343, allocations: 31.95 kB / 1.156 GB, free: 31.09 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.085e-05/0.8343, allocations: 52.45 kB / 1.156 GB, free: 31.04 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.8343, allocations: 0 / 1.156 GB, free: 31.04 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.146e-05/0.8344, allocations: 61.56 kB / 1.156 GB, free: 31 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.8344, allocations: 9.25 kB / 1.156 GB, free: 30.99 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.8344, allocations: 6.797 kB / 1.156 GB, free: 30.99 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.8344, allocations: 3.938 kB / 1.156 GB, free: 30.99 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.8345, allocations: 11.84 kB / 1.156 GB, free: 30.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.8345, allocations: 6.312 kB / 1.156 GB, free: 30.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.871e-05/0.8345, allocations: 3.953 kB / 1.156 GB, free: 30.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.8345, allocations: 5.188 kB / 1.156 GB, free: 30.98 MB / 1.076 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 3.991e-05/0.8346, allocations: 116.6 kB / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.8346, allocations: 0 / 1.157 GB, free: 30.86 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/0.8347, allocations: 107.9 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.8347, allocations: 6.875 kB / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.8348, allocations: 3.062 kB / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.8348, allocations: 0 / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.941e-05/0.8348, allocations: 116.8 kB / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8348, allocations: 0 / 1.157 GB, free: 30.65 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.692e-05/0.8349, allocations: 22.08 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.8349, allocations: 4.156 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.8349, allocations: 2.844 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.083e-06/0.8349, allocations: 3.062 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8349, allocations: 3.938 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.547e-05/0.835, allocations: 123.7 kB / 1.157 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.711e-06/0.835, allocations: 3.062 kB / 1.157 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.835, allocations: 3.156 kB / 1.157 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.023e-05/0.835, allocations: 4 kB / 1.157 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.8351, allocations: 10.48 kB / 1.157 GB, free: 30.52 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-06/0.8351, allocations: 6.094 kB / 1.157 GB, free: 30.52 MB / 1.076 GB Notification: Performance of sorting global known variables: time 9.488e-06/0.8351, allocations: 79.28 kB / 1.157 GB, free: 30.44 MB / 1.076 GB Notification: Performance of sort global known variables: time 5.1e-08/0.8351, allocations: 0 / 1.157 GB, free: 30.44 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002094/0.8353, allocations: 17.53 kB / 1.157 GB, free: 30.43 MB / 1.076 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.0001101/0.8354, allocations: 101.6 kB / 1.157 GB, free: 30.33 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.554e-05/0.8355, allocations: 32.75 kB / 1.157 GB, free: 30.32 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8355, allocations: 0 / 1.157 GB, free: 30.32 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.025e-05/0.8355, allocations: 27.12 kB / 1.157 GB, free: 30.32 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.8357, allocations: 17.52 kB / 1.157 GB, free: 30.3 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002029/0.8359, allocations: 147.3 kB / 1.157 GB, free: 30.16 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.075e-05/0.8359, allocations: 67.03 kB / 1.157 GB, free: 30.08 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.234e-05/0.8359, allocations: 7 kB / 1.157 GB, free: 30.08 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.149e-05/0.836, allocations: 18.09 kB / 1.157 GB, free: 30.07 MB / 1.076 GB Notification: Performance of SimCode: time 2.7e-07/0.836, allocations: 0 / 1.157 GB, free: 30.07 MB / 1.076 GB Notification: Performance of Templates: time 0.002567/0.8385, allocations: 0.5412 MB / 1.158 GB, free: 29.97 MB / 1.076 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 -s ida -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: 8.531417781952769]