Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001129/0.001129, 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.001023/0.001023, allocations: 169 kB / 24.28 MB, free: 276 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 1.019/1.019, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.792/1.792, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.7872 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.2e-05/3.426e-05, allocations: 4.984 kB / 0.7872 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001823/0.001857, allocations: 0.6084 MB / 0.7878 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002548/0.002112, allocations: 60.53 kB / 0.7878 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.002138, allocations: 0 / 0.7878 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.878e-05/0.002156, allocations: 4.5 kB / 0.7878 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.697e-06/0.002165, allocations: 0 / 0.7878 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.002455, allocations: 29.34 kB / 0.7878 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.405e-05/0.002519, allocations: 7.984 kB / 0.7879 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.002568, allocations: 3.938 kB / 0.7879 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.946e-05/0.002608, allocations: 5.188 kB / 0.7879 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.765e-05/0.002665, allocations: 15.97 kB / 0.7879 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.002682, allocations: 4 kB / 0.7879 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.872e-05/0.002771, allocations: 12.55 kB / 0.7879 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.002789, allocations: 4 kB / 0.7879 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.98e-05/0.002809, allocations: 5.344 kB / 0.7879 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.002917, allocations: 23.95 kB / 0.7879 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.00292, allocations: 0 / 0.7879 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.202e-06/0.002921, allocations: 1 kB / 0.7879 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.002926, allocations: 0 / 0.7879 GB, free: 11.96 MB / 0.7448 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.0003862/0.003313, allocations: 353.3 kB / 0.7883 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.00336, allocations: 8.031 kB / 0.7883 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.003408, allocations: 0.9375 kB / 0.7883 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.366e-05/0.003492, allocations: 109.7 kB / 0.7884 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.003514, allocations: 4.375 kB / 0.7884 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.003528, allocations: 4.375 kB / 0.7884 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.003691, allocations: 89.11 kB / 0.7885 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.003699, allocations: 1.438 kB / 0.7885 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.003711, allocations: 384 / 0.7885 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.003722, allocations: 384 / 0.7885 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.538e-05/0.003757, allocations: 17.47 kB / 0.7885 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.003936, allocations: 151.5 kB / 0.7886 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.004057, allocations: 136.1 kB / 0.7888 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.00411, allocations: 51.73 kB / 0.7888 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001731/0.004283, allocations: 4 kB / 0.7888 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.00432, allocations: 45.33 kB / 0.7889 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 2.194e-06/0.004322, allocations: 3 kB / 0.7889 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5): time 0.0002237/0.004546, allocations: 73.84 kB / 0.7889 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.933e-05/0.004625, allocations: 158.2 kB / 0.7891 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.209e-05/0.004677, allocations: 142.2 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.004693, allocations: 34.42 kB / 0.7893 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.004728, allocations: 126.9 kB / 0.7894 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.004771, allocations: 13.55 kB / 0.7894 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.004815, allocations: 31.3 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.004968, allocations: 0.4883 MB / 0.7899 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.004988, allocations: 0 / 0.7899 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.788e-05/0.005035, allocations: 55.52 kB / 0.7899 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.802e-05/0.005124, allocations: 60.12 kB / 0.79 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.005126, allocations: 0 / 0.79 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001203/0.005246, allocations: 66.73 kB / 0.7901 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.005265, allocations: 7.406 kB / 0.7901 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.005273, allocations: 4 kB / 0.7901 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.005288, allocations: 0 / 0.7901 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.437e-05/0.005383, allocations: 12 kB / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.005394, allocations: 8.438 kB / 0.7901 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.907e-05/0.005423, allocations: 3.938 kB / 0.7901 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.005433, allocations: 9.672 kB / 0.7901 GB, free: 9.375 MB / 0.7448 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.475e-05/0.005518, allocations: 152.6 kB / 0.7903 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.005541, allocations: 11.95 kB / 0.7903 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/0.005754, allocations: 98.75 kB / 0.7904 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.005759, allocations: 4.531 kB / 0.7904 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.005763, allocations: 1.312 kB / 0.7904 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.005768, allocations: 0 / 0.7904 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.005892, allocations: 128.5 kB / 0.7905 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.005896, allocations: 4 kB / 0.7905 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.675e-05/0.005953, allocations: 16.52 kB / 0.7905 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.005956, allocations: 1.375 kB / 0.7905 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.005969, allocations: 7.984 kB / 0.7905 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.005975, allocations: 7.922 kB / 0.7905 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.005978, allocations: 4 kB / 0.7905 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.006142, allocations: 156.2 kB / 0.7907 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.698e-06/0.006152, allocations: 4 kB / 0.7907 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.006167, allocations: 4.812 kB / 0.7907 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.816e-05/0.006195, allocations: 4 kB / 0.7907 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.634e-05/0.006221, allocations: 12.86 kB / 0.7907 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.006229, allocations: 4 kB / 0.7907 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.781e-05/0.006267, allocations: 119.2 kB / 0.7908 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.006267, allocations: 1.344 kB / 0.7908 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002453/0.006512, allocations: 12 kB / 0.7908 GB, free: 8.551 MB / 0.7448 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.0001876/0.0067, allocations: 111.9 kB / 0.7909 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.006824, allocations: 37.7 kB / 0.791 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.006827, allocations: 4 kB / 0.791 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.844e-05/0.006866, allocations: 31.61 kB / 0.791 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.007041, allocations: 4.625 kB / 0.791 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.007369, allocations: 168.3 kB / 0.7912 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.419e-05/0.007413, allocations: 59.34 kB / 0.7912 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.371e-05/0.007457, allocations: 12.25 kB / 0.7912 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.007489, allocations: 17 kB / 0.7913 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of SimCode: time 1.212e-06/0.00749, allocations: 0 / 0.7913 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of Templates: time 0.003103/0.01059, allocations: 0.5479 MB / 0.7918 GB, free: 7.516 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.160086802905425]