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.001437/0.001437, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001963/0.001963, allocations: 181 kB / 23.36 MB, free: 1.133 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.006/1.006, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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 2.607/2.607, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.583e-06/1.583e-06, allocations: 0 / 0.8387 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.046e-05, allocations: 6.312 kB / 0.8387 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001308/0.001328, allocations: 0.6619 MB / 0.8393 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002062/0.001534, allocations: 67.72 kB / 0.8394 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.568e-05/0.00155, allocations: 0 / 0.8394 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 1.331e-05/0.001563, allocations: 3.938 kB / 0.8394 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.573e-06/0.00157, allocations: 0 / 0.8394 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.001761, allocations: 19.97 kB / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.4e-05/0.001805, allocations: 15.98 kB / 0.8394 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.00184, allocations: 4 kB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.358e-05/0.001873, allocations: 7.984 kB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 4.929e-05/0.001923, allocations: 11.92 kB / 0.8395 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.759e-06/0.001933, allocations: 0 / 0.8395 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.914e-05/0.002012, allocations: 19.92 kB / 0.8395 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.002025, allocations: 3.938 kB / 0.8395 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.08e-05/0.002036, allocations: 4 kB / 0.8395 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 6.949e-05/0.002106, allocations: 23.95 kB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.002107, allocations: 0 / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.41e-07/0.002108, allocations: 0 / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.985e-06/0.002111, allocations: 0 / 0.8395 GB, free: 13.29 MB / 0.8073 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.0002275/0.002339, allocations: 225 kB / 0.8397 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.002372, allocations: 12.62 kB / 0.8397 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.21e-05/0.002394, allocations: 0.9375 kB / 0.8397 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.568e-05/0.00245, allocations: 113.8 kB / 0.8398 GB, free: 12.9 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.00246, allocations: 4.375 kB / 0.8398 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-06/0.002465, allocations: 384 / 0.8398 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.278e-05/0.002548, allocations: 70.48 kB / 0.8399 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.002555, allocations: 192 / 0.8399 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-06/0.002561, allocations: 4.375 kB / 0.8399 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.002566, allocations: 384 / 0.8399 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.255e-05/0.002589, allocations: 23.86 kB / 0.8399 GB, free: 12.78 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.736e-05/0.002676, allocations: 84.64 kB / 0.84 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.051e-05/0.002746, allocations: 101 kB / 0.8401 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.569e-05/0.002772, allocations: 36.34 kB / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.472e-05/0.002867, allocations: 4 kB / 0.8402 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.002888, allocations: 38.5 kB / 0.8402 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.002889, allocations: 0 / 0.8402 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5): time 0.0001061/0.002996, allocations: 69.77 kB / 0.8403 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.003047, allocations: 162.2 kB / 0.8404 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.414e-05/0.003072, allocations: 89.86 kB / 0.8405 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.003081, allocations: 25.7 kB / 0.8405 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.804e-05/0.003099, allocations: 84.14 kB / 0.8406 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/0.00313, allocations: 15.84 kB / 0.8406 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.593e-05/0.003156, allocations: 21.69 kB / 0.8406 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.922e-05/0.003225, allocations: 314.8 kB / 0.8409 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.733e-06/0.003232, allocations: 4 kB / 0.8409 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.513e-05/0.003257, allocations: 40.62 kB / 0.841 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.361e-05/0.003301, allocations: 44.22 kB / 0.841 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.003303, allocations: 0 / 0.841 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.364e-05/0.003356, allocations: 53.56 kB / 0.8411 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.003368, allocations: 8 kB / 0.8411 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.003372, allocations: 4.156 kB / 0.8411 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.003382, allocations: 0 / 0.8411 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.549e-05/0.003427, allocations: 11.98 kB / 0.8411 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.003433, allocations: 7.984 kB / 0.8411 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/0.00345, allocations: 7.938 kB / 0.8411 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.003456, allocations: 4 kB / 0.8411 GB, free: 11.36 MB / 0.8073 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 5.154e-05/0.003508, allocations: 113.8 kB / 0.8412 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-06/0.003516, allocations: 4 kB / 0.8412 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.003625, allocations: 88.48 kB / 0.8413 GB, free: 11.14 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.003629, allocations: 4 kB / 0.8413 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.003632, allocations: 8.109 kB / 0.8413 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.003636, allocations: 0 / 0.8413 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.826e-05/0.003704, allocations: 77.78 kB / 0.8414 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.003705, allocations: 0 / 0.8414 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/0.003736, allocations: 15.98 kB / 0.8414 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.003738, allocations: 4 kB / 0.8414 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.003744, allocations: 8.156 kB / 0.8414 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.003747, allocations: 7.938 kB / 0.8414 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.003751, allocations: 0 / 0.8414 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.819e-05/0.003829, allocations: 108.4 kB / 0.8415 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.501e-06/0.003835, allocations: 4 kB / 0.8415 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-06/0.003844, allocations: 8 kB / 0.8416 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.417e-05/0.003859, allocations: 3.938 kB / 0.8416 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.48e-05/0.003873, allocations: 11.97 kB / 0.8416 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.003878, allocations: 4 kB / 0.8416 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.655e-06/0.003886, allocations: 4.859 kB / 0.8416 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.003886, allocations: 4 kB / 0.8416 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001148/0.004, allocations: 8 kB / 0.8416 GB, free: 10.81 MB / 0.8073 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 9.167e-05/0.004092, allocations: 84.34 kB / 0.8417 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.049e-05/0.004163, allocations: 48.64 kB / 0.8417 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.004165, allocations: 0 / 0.8417 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.796e-05/0.004183, allocations: 20.8 kB / 0.8417 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.257e-05/0.004245, allocations: 12.61 kB / 0.8417 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/0.004542, allocations: 140.1 kB / 0.8419 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.759e-05/0.004569, allocations: 55.36 kB / 0.8419 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.871e-05/0.004598, allocations: 11.98 kB / 0.8419 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.004632, allocations: 59.36 kB / 0.842 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of SimCode: time 5.92e-07/0.004633, allocations: 4 kB / 0.842 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of Templates: time 0.002193/0.006826, allocations: 0.6412 MB / 0.8426 GB, free: 9.672 MB / 0.8073 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Round.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.436890376266092]