Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 225.6 MB / 249.4 MB, free: 3.289 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.663/2.663, allocations: 443.4 MB / 0.7304 GB, free: 14.06 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 75.89 kB / 1.059 GB, free: 364 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3216, allocations: 160.7 MB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001818/0.3234, allocations: 0.6002 MB / 1.217 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002957/0.3237, allocations: 75.69 kB / 1.217 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.961e-05/0.3237, allocations: 0 / 1.217 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.326e-05/0.3237, allocations: 4 kB / 1.217 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.173e-06/0.3237, allocations: 0 / 1.217 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002689/0.324, allocations: 19.92 kB / 1.217 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.995e-05/0.3241, allocations: 11.94 kB / 1.217 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.173e-05/0.3241, allocations: 3.984 kB / 1.217 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.032e-05/0.3242, allocations: 11.98 kB / 1.217 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.649e-05/0.3242, allocations: 4 kB / 1.217 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.3242, allocations: 0 / 1.217 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.331e-05/0.3243, allocations: 15.98 kB / 1.217 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.3243, allocations: 3.938 kB / 1.217 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.357e-05/0.3243, allocations: 7.984 kB / 1.217 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.3245, allocations: 23.91 kB / 1.217 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3245, allocations: 0 / 1.217 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3245, allocations: 0 / 1.217 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.3245, allocations: 0 / 1.217 GB, free: 14.55 MB / 0.9669 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.0004599/0.3249, allocations: 335.4 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.325, allocations: 8.031 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.325, allocations: 0.9375 kB / 1.217 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.3251, allocations: 164.4 kB / 1.217 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.3251, allocations: 12.31 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.3252, allocations: 384 / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.3253, allocations: 70.55 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3253, allocations: 192 / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3253, allocations: 3.938 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3253, allocations: 4 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.166e-05/0.3254, allocations: 19.86 kB / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002225/0.3256, allocations: 181.2 kB / 1.218 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.3257, allocations: 97.12 kB / 1.218 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.767e-05/0.3258, allocations: 32.3 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001948/0.326, allocations: 85.03 kB / 1.218 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.326, allocations: 38.56 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.326, allocations: 0 / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002145/0.3262, allocations: 77.48 kB / 1.218 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.3263, allocations: 162.2 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.343e-05/0.3264, allocations: 89.86 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.3264, allocations: 26.33 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.3265, allocations: 88.12 kB / 1.218 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.396e-05/0.3265, allocations: 19.8 kB / 1.218 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.3265, allocations: 21.7 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3267, allocations: 314.8 kB / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.029e-05/0.3267, allocations: 4 kB / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.37e-05/0.3268, allocations: 36.28 kB / 1.219 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.226e-05/0.3269, allocations: 48.23 kB / 1.219 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3269, allocations: 3.938 kB / 1.219 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001092/0.327, allocations: 65.7 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.327, allocations: 8 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.327, allocations: 4 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.327, allocations: 3.938 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.872e-05/0.3271, allocations: 12 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.3271, allocations: 4 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.823e-05/0.3271, allocations: 128 / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.3271, allocations: 11.94 kB / 1.219 GB, free: 12.17 MB / 0.9669 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.722e-05/0.3272, allocations: 113.8 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.3272, allocations: 8 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.3275, allocations: 100.6 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3275, allocations: 4 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3275, allocations: 0 / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3275, allocations: 0 / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.3277, allocations: 173.8 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3277, allocations: 0 / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.124e-05/0.3277, allocations: 19.92 kB / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.3277, allocations: 4 kB / 1.219 GB, free: 11.69 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.3277, allocations: 3.938 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.3278, allocations: 4 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.3278, allocations: 3.984 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.3279, allocations: 125.5 kB / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.105e-05/0.328, allocations: 92.98 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.328, allocations: 3.938 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.977e-05/0.328, allocations: 4 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.3281, allocations: 8 kB / 1.22 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.3281, allocations: 7.984 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.596e-05/0.3281, allocations: 79.28 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5e-08/0.3281, allocations: 0 / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002078/0.3283, allocations: 4 kB / 1.22 GB, free: 11.31 MB / 0.9669 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.0002125/0.3285, allocations: 107.2 kB / 1.22 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001334/0.3287, allocations: 35.92 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.3287, allocations: 4.312 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.799e-05/0.3287, allocations: 27.92 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.3289, allocations: 10.12 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003385/0.3292, allocations: 161.7 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/0.3297, allocations: 0.6849 MB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.071e-05/0.3297, allocations: 15.98 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.3298, allocations: 11.44 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.3298, allocations: 0 / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of Templates: time 0.003137/0.3329, allocations: 0.5787 MB / 1.221 GB, free: 9.605 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.950997884385288]