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.0011/0.0011, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001644/0.001644, allocations: 161 kB / 23.81 MB, free: 0.7578 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.002/1.002, allocations: 177.1 MB / 204.2 MB, free: 4.953 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.959/1.959, allocations: 377.9 MB / 0.6236 GB, free: 8.574 MB / 0.5886 GB " [Timeout remaining time 177] 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.883e-06/1.883e-06, allocations: 0.9844 kB / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.129e-05/3.317e-05, allocations: 3.719 kB / 0.8116 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001684/0.001717, allocations: 0.6135 MB / 0.8122 GB, free: 1.102 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002719/0.001989, allocations: 59.78 kB / 0.8122 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.124e-05/0.00201, allocations: 0 / 0.8122 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.587e-05/0.002036, allocations: 0 / 0.8122 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 1.13e-05/0.002047, allocations: 5.094 kB / 0.8123 GB, free: 1.039 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.002326, allocations: 19.97 kB / 0.8123 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 5.728e-05/0.002383, allocations: 20.7 kB / 0.8123 GB, free: 1 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 4.332e-05/0.002426, allocations: 0 / 0.8123 GB, free: 1 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.024e-05/0.002457, allocations: 5.344 kB / 0.8123 GB, free: 0.9961 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 5.03e-05/0.002507, allocations: 11.97 kB / 0.8123 GB, free: 0.9844 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.002521, allocations: 0 / 0.8123 GB, free: 0.9844 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.359e-05/0.002604, allocations: 15.94 kB / 0.8123 GB, free: 0.9688 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.00262, allocations: 5.578 kB / 0.8123 GB, free: 0.9648 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.777e-05/0.002638, allocations: 4 kB / 0.8123 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.002744, allocations: 27.84 kB / 0.8124 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.002747, allocations: 0 / 0.8124 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.12e-07/0.002748, allocations: 1.75 kB / 0.8124 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.002753, allocations: 0 / 0.8124 GB, free: 0.9336 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.0003629/0.003116, allocations: 352.3 kB / 0.8127 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.003161, allocations: 12.03 kB / 0.8127 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.003202, allocations: 1.781 kB / 0.8127 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.133e-05/0.003274, allocations: 108.6 kB / 0.8128 GB, free: 416 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.003286, allocations: 0.9062 kB / 0.8128 GB, free: 416 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.003299, allocations: 384 / 0.8128 GB, free: 416 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.003437, allocations: 89.34 kB / 0.8129 GB, free: 300 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.003448, allocations: 192 / 0.8129 GB, free: 300 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.003461, allocations: 8.891 kB / 0.8129 GB, free: 292 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.00347, allocations: 1.688 kB / 0.8129 GB, free: 292 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.242e-05/0.003502, allocations: 15.88 kB / 0.8129 GB, free: 276 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.003655, allocations: 147.5 kB / 0.8131 GB, free: 76 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.003776, allocations: 141.3 kB / 0.8132 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.761e-05/0.003823, allocations: 46.48 kB / 0.8132 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000163/0.003986, allocations: 11.98 kB / 0.8133 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.004017, allocations: 41.33 kB / 0.8133 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.004018, allocations: 1.156 kB / 0.8133 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5): time 0.0002019/0.00422, allocations: 79.03 kB / 0.8134 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.004284, allocations: 155.1 kB / 0.8135 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.584e-05/0.00433, allocations: 142.2 kB / 0.8137 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.004346, allocations: 30.55 kB / 0.8137 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.004381, allocations: 130.8 kB / 0.8138 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.109e-05/0.004422, allocations: 17.19 kB / 0.8138 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/0.004462, allocations: 23.36 kB / 0.8138 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.004602, allocations: 0.4922 MB / 0.8143 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/0.004619, allocations: 0 / 0.8143 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.196e-05/0.004661, allocations: 55.27 kB / 0.8144 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.621e-05/0.004737, allocations: 60.91 kB / 0.8144 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.004739, allocations: 128 / 0.8144 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001106/0.00485, allocations: 71.16 kB / 0.8145 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.004869, allocations: 4 kB / 0.8145 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.004877, allocations: 7.984 kB / 0.8145 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.004895, allocations: 0 / 0.8145 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.376e-05/0.004979, allocations: 10.69 kB / 0.8145 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.004987, allocations: 3.984 kB / 0.8145 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.914e-05/0.005016, allocations: 7.938 kB / 0.8145 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.005026, allocations: 4 kB / 0.8145 GB, free: 14.34 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 7.844e-05/0.005104, allocations: 164.5 kB / 0.8147 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.737e-05/0.005122, allocations: 7.953 kB / 0.8147 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.005317, allocations: 91.52 kB / 0.8148 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.005322, allocations: 3.984 kB / 0.8148 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.005327, allocations: 4 kB / 0.8148 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.005331, allocations: 0.9062 kB / 0.8148 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.005461, allocations: 132.5 kB / 0.8149 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.005463, allocations: 0.6562 kB / 0.8149 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.647e-05/0.00553, allocations: 23.98 kB / 0.815 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.005534, allocations: 0.6562 kB / 0.815 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.005544, allocations: 4 kB / 0.815 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.005546, allocations: 2.938 kB / 0.815 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.005548, allocations: 0 / 0.815 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.00572, allocations: 162.9 kB / 0.8151 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.058e-05/0.00573, allocations: 8 kB / 0.8151 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.005744, allocations: 0 / 0.8151 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.235e-05/0.005776, allocations: 4 kB / 0.8151 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.005804, allocations: 15.92 kB / 0.8151 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.005813, allocations: 6.594 kB / 0.8151 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.895e-05/0.005852, allocations: 119.2 kB / 0.8153 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.005852, allocations: 0 / 0.8153 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000234/0.006086, allocations: 4 kB / 0.8153 GB, free: 13.52 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.0002088/0.006294, allocations: 110 kB / 0.8154 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001514/0.006446, allocations: 44.47 kB / 0.8154 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.006449, allocations: 1.125 kB / 0.8154 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.824e-05/0.006487, allocations: 28.69 kB / 0.8154 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.006673, allocations: 11.98 kB / 0.8155 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.007051, allocations: 166 kB / 0.8156 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/0.007298, allocations: 59.3 kB / 0.8157 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.917e-05/0.007347, allocations: 11.36 kB / 0.8157 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.007385, allocations: 12.5 kB / 0.8157 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of SimCode: time 1.022e-06/0.007386, allocations: 0 / 0.8157 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of Templates: time 0.003562/0.01095, allocations: 0.5558 MB / 0.8162 GB, free: 12.48 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.324039653874934]