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.0009639/0.0009639, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001547/0.001547, allocations: 169 kB / 24.28 MB, free: 280 kB / 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 0.9229/0.9229, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.931/1.931, allocations: 377.8 MB / 0.6239 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.8116 GB, free: 1.988 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.554e-05/1.683e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.984 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001075/0.001091, allocations: 0.6169 MB / 0.8122 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001936/0.001285, allocations: 60.34 kB / 0.8122 GB, free: 1.328 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.649e-05/0.001302, allocations: 0.9375 kB / 0.8122 GB, free: 1.328 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.408e-05/0.001316, allocations: 3.938 kB / 0.8122 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.48e-06/0.001321, allocations: 1.094 kB / 0.8123 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002321/0.001553, allocations: 15.98 kB / 0.8123 GB, free: 1.309 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.983e-05/0.001603, allocations: 11.98 kB / 0.8123 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.879e-05/0.001642, allocations: 5.406 kB / 0.8123 GB, free: 1.293 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.857e-05/0.00167, allocations: 11.92 kB / 0.8123 GB, free: 1.281 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.337e-05/0.001714, allocations: 7.938 kB / 0.8123 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.001726, allocations: 0.8438 kB / 0.8123 GB, free: 1.273 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.47e-05/0.001791, allocations: 19.92 kB / 0.8123 GB, free: 1.254 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.001805, allocations: 4.984 kB / 0.8123 GB, free: 1.25 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.655e-05/0.001821, allocations: 4 kB / 0.8123 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 8.091e-05/0.001902, allocations: 19.95 kB / 0.8123 GB, free: 1.227 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.001904, allocations: 0.5625 kB / 0.8123 GB, free: 1.227 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.51e-07/0.001905, allocations: 4 kB / 0.8124 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.778e-06/0.001908, allocations: 0.5938 kB / 0.8124 GB, free: 1.223 MB / 0.7605 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.0002863/0.002195, allocations: 349.6 kB / 0.8127 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.002227, allocations: 8.031 kB / 0.8127 GB, free: 0.8359 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.002263, allocations: 4.938 kB / 0.8127 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.029e-05/0.002323, allocations: 111 kB / 0.8128 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.002335, allocations: 8.312 kB / 0.8128 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/0.002344, allocations: 384 / 0.8128 GB, free: 0.6914 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.002448, allocations: 88.62 kB / 0.8129 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.002454, allocations: 192 / 0.8129 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-06/0.002462, allocations: 384 / 0.8129 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.002469, allocations: 4.938 kB / 0.8129 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.75e-05/0.002496, allocations: 17.39 kB / 0.8129 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001114/0.002608, allocations: 147.5 kB / 0.8131 GB, free: 372 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 8.97e-05/0.002697, allocations: 139.5 kB / 0.8132 GB, free: 168 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.429e-05/0.002732, allocations: 47.84 kB / 0.8132 GB, free: 100 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.002847, allocations: 4 kB / 0.8132 GB, free: 96 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.002868, allocations: 41.33 kB / 0.8133 GB, free: 44 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.002869, allocations: 0.5312 kB / 0.8133 GB, free: 44 kB / 0.7605 GB Notification: Performance of matching and sorting (n=5): time 0.0001725/0.003041, allocations: 79.72 kB / 0.8134 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/0.003096, allocations: 162.7 kB / 0.8135 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.568e-05/0.003131, allocations: 143.6 kB / 0.8137 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/0.003139, allocations: 25.7 kB / 0.8137 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.578e-05/0.003165, allocations: 126.9 kB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.003197, allocations: 23.89 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.658e-05/0.003224, allocations: 24.53 kB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.911e-05/0.003323, allocations: 495.9 kB / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.43e-05/0.003337, allocations: 7.984 kB / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-05/0.003365, allocations: 47.19 kB / 0.8144 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.765e-05/0.003423, allocations: 63.67 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.003424, allocations: 1.25 kB / 0.8144 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.611e-05/0.003491, allocations: 66.52 kB / 0.8145 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.003503, allocations: 10.66 kB / 0.8145 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.003507, allocations: 3.375 kB / 0.8145 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.003519, allocations: 4 kB / 0.8145 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.359e-05/0.003573, allocations: 11.98 kB / 0.8145 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.003579, allocations: 3.938 kB / 0.8145 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.635e-05/0.003595, allocations: 3.938 kB / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.003602, allocations: 4 kB / 0.8145 GB, free: 14.64 MB / 0.7761 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 6.368e-05/0.003666, allocations: 160.6 kB / 0.8147 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.003676, allocations: 7.953 kB / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.003806, allocations: 99.09 kB / 0.8148 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.003808, allocations: 9.281 kB / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.003811, allocations: 0 / 0.8148 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.003816, allocations: 7.938 kB / 0.8148 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.014e-05/0.003906, allocations: 132.5 kB / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.003908, allocations: 1.25 kB / 0.8149 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.991e-05/0.003938, allocations: 12 kB / 0.8149 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.003941, allocations: 4 kB / 0.8149 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.003948, allocations: 0.5312 kB / 0.8149 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.003953, allocations: 11.92 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.003954, allocations: 0.9062 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.004061, allocations: 155.8 kB / 0.8151 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-06/0.004066, allocations: 0 / 0.8151 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-06/0.004074, allocations: 4 kB / 0.8151 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.366e-05/0.004088, allocations: 1.281 kB / 0.8151 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.00411, allocations: 15.92 kB / 0.8151 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.004112, allocations: 4 kB / 0.8151 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.657e-05/0.004139, allocations: 119.8 kB / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.004139, allocations: 0 / 0.8152 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001357/0.004275, allocations: 8.844 kB / 0.8153 GB, free: 13.82 MB / 0.7761 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.0001106/0.004385, allocations: 112.7 kB / 0.8154 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.768e-05/0.004473, allocations: 39.61 kB / 0.8154 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.004475, allocations: 3.094 kB / 0.8154 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.518e-05/0.0045, allocations: 35.61 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001077/0.004608, allocations: 4 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002398/0.004847, allocations: 168.9 kB / 0.8156 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.197e-05/0.004879, allocations: 55.36 kB / 0.8157 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.581e-05/0.004905, allocations: 10.06 kB / 0.8157 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.082e-05/0.004926, allocations: 17.55 kB / 0.8157 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of SimCode: time 5.21e-07/0.004926, allocations: 0 / 0.8157 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of Templates: time 0.002143/0.007069, allocations: 0.5581 MB / 0.8162 GB, free: 12.77 MB / 0.7761 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] 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","",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.036999288015068]