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.001467/0.001467, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.001638/0.001638, allocations: 157.7 kB / 23.54 MB, free: 0.8672 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.466/1.466, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 2.8/2.8, allocations: 377.8 MB / 0.6232 GB, free: 8.527 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 2.595e-06/2.595e-06, allocations: 0 / 0.8109 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.934e-05/4.194e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.002351/0.002393, allocations: 0.6085 MB / 0.8115 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003081/0.002701, allocations: 63.72 kB / 0.8115 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.993e-05/0.002721, allocations: 3.938 kB / 0.8115 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.372e-05/0.002734, allocations: 0.6562 kB / 0.8115 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.295e-06/0.002743, allocations: 1.5 kB / 0.8115 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.003043, allocations: 19.92 kB / 0.8115 GB, free: 1.375 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.614e-05/0.003109, allocations: 15.97 kB / 0.8116 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 5.577e-05/0.003165, allocations: 0.875 kB / 0.8116 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 5.543e-05/0.00322, allocations: 8 kB / 0.8116 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 6.5e-05/0.003285, allocations: 11.92 kB / 0.8116 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.003301, allocations: 0.8438 kB / 0.8116 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 7.981e-05/0.003381, allocations: 8 kB / 0.8116 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.003402, allocations: 9.656 kB / 0.8116 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.815e-05/0.00343, allocations: 4 kB / 0.8116 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.003541, allocations: 23.91 kB / 0.8116 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.003544, allocations: 0 / 0.8116 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of FrontEnd: time 3.086e-06/0.003547, allocations: 3.984 kB / 0.8116 GB, free: 1.293 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.003551, allocations: 1.531 kB / 0.8116 GB, free: 1.293 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.0004532/0.004004, allocations: 246.4 kB / 0.8119 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.004051, allocations: 12.03 kB / 0.8119 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.405e-05/0.004105, allocations: 2.688 kB / 0.8119 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.004243, allocations: 109.7 kB / 0.812 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.004259, allocations: 4.375 kB / 0.812 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.247e-05/0.004272, allocations: 4.312 kB / 0.812 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.004448, allocations: 70.55 kB / 0.8121 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.004459, allocations: 1.281 kB / 0.8121 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.004474, allocations: 4.359 kB / 0.8121 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.004481, allocations: 1.344 kB / 0.8121 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.09e-05/0.004532, allocations: 19.88 kB / 0.8121 GB, free: 0.7539 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/0.004753, allocations: 128.9 kB / 0.8122 GB, free: 0.5859 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.004899, allocations: 95.38 kB / 0.8123 GB, free: 460 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.005068, allocations: 28.36 kB / 0.8123 GB, free: 416 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/0.005274, allocations: 15.92 kB / 0.8123 GB, free: 400 kB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.005318, allocations: 34.56 kB / 0.8124 GB, free: 356 kB / 0.7605 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.005319, allocations: 0 / 0.8124 GB, free: 356 kB / 0.7605 GB Notification: Performance of matching and sorting (n=5): time 0.0002756/0.005595, allocations: 71.34 kB / 0.8124 GB, free: 280 kB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.00574, allocations: 167.7 kB / 0.8126 GB, free: 76 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.15e-05/0.005821, allocations: 89.86 kB / 0.8127 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.005845, allocations: 25.7 kB / 0.8127 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.005898, allocations: 84.14 kB / 0.8128 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.663e-05/0.005954, allocations: 24.42 kB / 0.8128 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.006007, allocations: 17.72 kB / 0.8128 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002064/0.006213, allocations: 319.5 kB / 0.8131 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.006234, allocations: 4 kB / 0.8131 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.481e-05/0.006288, allocations: 40.91 kB / 0.8132 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.912e-05/0.006387, allocations: 46.89 kB / 0.8132 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.00639, allocations: 0 / 0.8132 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001378/0.006528, allocations: 70.38 kB / 0.8133 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.006549, allocations: 4.938 kB / 0.8133 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.006556, allocations: 0 / 0.8133 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.006582, allocations: 5.219 kB / 0.8133 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.96e-05/0.006672, allocations: 16.11 kB / 0.8133 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.006682, allocations: 7.922 kB / 0.8133 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.57e-05/0.006718, allocations: 7.938 kB / 0.8133 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.006725, allocations: 0.9688 kB / 0.8133 GB, free: 15.26 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 0.0001037/0.006829, allocations: 116.1 kB / 0.8134 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.006854, allocations: 11.94 kB / 0.8135 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.007093, allocations: 99.7 kB / 0.8135 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.007099, allocations: 4 kB / 0.8136 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.007105, allocations: 0 / 0.8136 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.007114, allocations: 7.984 kB / 0.8136 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.007265, allocations: 113.2 kB / 0.8137 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.007267, allocations: 4 kB / 0.8137 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.561e-05/0.007332, allocations: 15.98 kB / 0.8137 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.007338, allocations: 7.922 kB / 0.8137 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.007347, allocations: 5.125 kB / 0.8137 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.007349, allocations: 0 / 0.8137 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.00735, allocations: 4 kB / 0.8137 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.007551, allocations: 125.5 kB / 0.8138 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.368e-05/0.007564, allocations: 7.984 kB / 0.8138 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.00758, allocations: 4.562 kB / 0.8138 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.674e-05/0.007617, allocations: 8.969 kB / 0.8138 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.007647, allocations: 11.92 kB / 0.8139 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.007654, allocations: 4 kB / 0.8139 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.311e-05/0.007697, allocations: 76.47 kB / 0.8139 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007697, allocations: 0 / 0.8139 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002729/0.00797, allocations: 8 kB / 0.8139 GB, free: 14.57 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.0001916/0.008162, allocations: 106.8 kB / 0.814 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001269/0.008289, allocations: 37.48 kB / 0.8141 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.008291, allocations: 0 / 0.8141 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.946e-05/0.00833, allocations: 21.02 kB / 0.8141 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.0085, allocations: 8 kB / 0.8141 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.008873, allocations: 157 kB / 0.8143 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.956e-05/0.008942, allocations: 60.45 kB / 0.8143 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.136e-05/0.008984, allocations: 10.08 kB / 0.8143 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.009022, allocations: 12.5 kB / 0.8143 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of SimCode: time 6.91e-07/0.009023, allocations: 0.5938 kB / 0.8143 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of Templates: time 0.003415/0.01244, allocations: 0.5538 MB / 0.8149 GB, free: 13.57 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.633013991988264]