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.001795/0.001795, allocations: 118.2 kB / 17.13 MB, free: 5.781 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.002084/0.002084, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.535/1.535, allocations: 225.6 MB / 248.5 MB, free: 3.605 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.622/2.622, allocations: 443.5 MB / 0.7293 GB, free: 14.43 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.002032/0.002032, allocations: 67.89 kB / 1.057 GB, free: 1.789 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3158, allocations: 160.7 MB / 1.214 GB, free: 0.7578 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001818/0.3176, allocations: 0.6 MB / 1.215 GB, free: 156 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002696/0.3179, allocations: 75.7 kB / 1.215 GB, free: 80 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.676e-05/0.3179, allocations: 0 / 1.215 GB, free: 80 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.183e-05/0.3179, allocations: 0 / 1.215 GB, free: 80 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.792e-06/0.3179, allocations: 0 / 1.215 GB, free: 80 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.3182, allocations: 23.91 kB / 1.215 GB, free: 56 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 5.715e-05/0.3182, allocations: 7.984 kB / 1.215 GB, free: 48 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.3182, allocations: 7.938 kB / 1.215 GB, free: 40 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.887e-05/0.3183, allocations: 4 kB / 1.215 GB, free: 36 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.042e-05/0.3183, allocations: 4 kB / 1.215 GB, free: 32 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.3183, allocations: 8 kB / 1.215 GB, free: 24 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.399e-05/0.3184, allocations: 15.97 kB / 1.215 GB, free: 8 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.3184, allocations: 7.984 kB / 1.215 GB, free: 0 / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.94e-05/0.3184, allocations: 4.062 kB / 1.215 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.648e-05/0.3185, allocations: 23.91 kB / 1.215 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3185, allocations: 0 / 1.215 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3185, allocations: 0 / 1.215 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.3185, allocations: 0 / 1.215 GB, free: 15.97 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.0004044/0.319, allocations: 331.4 kB / 1.215 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.319, allocations: 16.03 kB / 1.215 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/0.319, allocations: 4.922 kB / 1.215 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.3191, allocations: 160.4 kB / 1.215 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-06/0.3191, allocations: 4.312 kB / 1.215 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.3192, allocations: 4.375 kB / 1.215 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.3193, allocations: 66.55 kB / 1.215 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.3193, allocations: 192 / 1.215 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.3193, allocations: 7.938 kB / 1.215 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3193, allocations: 0 / 1.215 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.352e-05/0.3194, allocations: 19.92 kB / 1.215 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000205/0.3196, allocations: 181.1 kB / 1.216 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.3197, allocations: 97.12 kB / 1.216 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.76e-05/0.3198, allocations: 28.42 kB / 1.216 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001917/0.32, allocations: 96.97 kB / 1.216 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.32, allocations: 38.56 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.32, allocations: 0 / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002109/0.3202, allocations: 77.48 kB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.805e-05/0.3203, allocations: 158.8 kB / 1.216 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.598e-05/0.3203, allocations: 93.86 kB / 1.216 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.3204, allocations: 25.7 kB / 1.216 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.3204, allocations: 84.14 kB / 1.216 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.912e-05/0.3204, allocations: 19.8 kB / 1.216 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.076e-05/0.3205, allocations: 17.7 kB / 1.216 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3206, allocations: 314.8 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.785e-05/0.3206, allocations: 4 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.784e-05/0.3207, allocations: 48.28 kB / 1.217 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.364e-05/0.3208, allocations: 44.23 kB / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3208, allocations: 0 / 1.217 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000126/0.3209, allocations: 69.55 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.3209, allocations: 4 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3209, allocations: 7.938 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3209, allocations: 3.938 kB / 1.217 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.59e-05/0.321, allocations: 8 kB / 1.217 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.321, allocations: 0 / 1.217 GB, free: 13.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.568e-05/0.3211, allocations: 7.984 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.3211, allocations: 0 / 1.217 GB, free: 13.59 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.024e-05/0.3211, allocations: 121.9 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.3212, allocations: 4 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002066/0.3214, allocations: 104.5 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3214, allocations: 4.156 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.3214, allocations: 4 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3214, allocations: 0 / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.3215, allocations: 161.7 kB / 1.217 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.3215, allocations: 4 kB / 1.217 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-05/0.3216, allocations: 23.92 kB / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3216, allocations: 0 / 1.217 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.3216, allocations: 12.06 kB / 1.217 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3216, allocations: 0 / 1.217 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3216, allocations: 4 kB / 1.217 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.3218, allocations: 124.4 kB / 1.217 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.3219, allocations: 89 kB / 1.217 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.3219, allocations: 7.938 kB / 1.217 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.037e-05/0.3219, allocations: 0 / 1.217 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.3219, allocations: 15.98 kB / 1.217 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-06/0.3219, allocations: 4 kB / 1.217 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.623e-05/0.322, allocations: 79.28 kB / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.322, allocations: 0 / 1.218 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002134/0.3222, allocations: 4 kB / 1.218 GB, free: 12.73 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.0001675/0.3224, allocations: 103.2 kB / 1.218 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001234/0.3225, allocations: 43.8 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3225, allocations: 0 / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.779e-05/0.3225, allocations: 23.92 kB / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.3227, allocations: 9.875 kB / 1.218 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003437/0.323, allocations: 182.5 kB / 1.218 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.3234, allocations: 0.6806 MB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.3234, allocations: 15.42 kB / 1.219 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.3234, allocations: 0 / 1.219 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of Templates: time 0.002378/0.3258, allocations: 0.6882 MB / 1.219 GB, free: 10.91 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.635995295830071]