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.001697/0.001697, allocations: 78.48 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002021/0.002021, allocations: 168.5 kB / 22.46 MB, free: 5.359 MB / 14.72 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.435/1.435, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 2.759/2.759, allocations: 359 MB / 0.6037 GB, free: 14.93 MB / 0.5762 GB " [Timeout remaining time 177] 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 1.963e-06/1.963e-06, allocations: 0 / 0.951 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.918e-05/3.114e-05, allocations: 6.281 kB / 0.951 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001734/0.001765, allocations: 0.5987 MB / 0.9516 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003035/0.002069, allocations: 63.66 kB / 0.9517 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.941e-05/0.002088, allocations: 0 / 0.9517 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.149e-05/0.0021, allocations: 0 / 0.9517 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.564e-06/0.002107, allocations: 8 kB / 0.9517 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.002366, allocations: 19.92 kB / 0.9517 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.252e-05/0.002419, allocations: 11.97 kB / 0.9517 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.002457, allocations: 0 / 0.9517 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.684e-05/0.002494, allocations: 12 kB / 0.9517 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.257e-05/0.002546, allocations: 3.984 kB / 0.9517 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.002565, allocations: 4 kB / 0.9517 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.451e-05/0.002639, allocations: 11.97 kB / 0.9517 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.774e-05/0.002657, allocations: 7.938 kB / 0.9518 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.041e-05/0.002677, allocations: 4 kB / 0.9518 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.002778, allocations: 23.95 kB / 0.9518 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.00278, allocations: 0 / 0.9518 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002781, allocations: 0 / 0.9518 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.002784, allocations: 0 / 0.9518 GB, free: 10.7 MB / 0.8575 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.0003724/0.003157, allocations: 254.3 kB / 0.952 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.003208, allocations: 8.031 kB / 0.952 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.003249, allocations: 4.891 kB / 0.952 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.003357, allocations: 109.7 kB / 0.9521 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.003373, allocations: 4.375 kB / 0.9521 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-06/0.003381, allocations: 384 / 0.9521 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.003532, allocations: 78.53 kB / 0.9522 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.003543, allocations: 192 / 0.9522 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.003551, allocations: 384 / 0.9522 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.003557, allocations: 384 / 0.9522 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.387e-05/0.0036, allocations: 19.81 kB / 0.9522 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.003801, allocations: 128.9 kB / 0.9524 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.003951, allocations: 93.06 kB / 0.9525 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.112e-05/0.004002, allocations: 40.23 kB / 0.9525 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/0.004156, allocations: 7.984 kB / 0.9525 GB, free: 9.789 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/0.004194, allocations: 50.5 kB / 0.9525 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.004195, allocations: 0 / 0.9525 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5): time 0.0002343/0.00443, allocations: 73.55 kB / 0.9526 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.00454, allocations: 162.2 kB / 0.9528 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.203e-05/0.004602, allocations: 89.86 kB / 0.9529 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.004622, allocations: 25.7 kB / 0.9529 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.506e-05/0.004657, allocations: 80.14 kB / 0.953 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.004694, allocations: 16.53 kB / 0.953 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.004736, allocations: 17.7 kB / 0.953 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.004884, allocations: 322.8 kB / 0.9533 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.171e-05/0.004905, allocations: 4 kB / 0.9533 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.392e-05/0.004949, allocations: 36.28 kB / 0.9533 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.023e-05/0.00503, allocations: 48.23 kB / 0.9534 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.005031, allocations: 0 / 0.9534 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001213/0.005153, allocations: 69.52 kB / 0.9534 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.005167, allocations: 4 kB / 0.9535 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.005176, allocations: 8.109 kB / 0.9535 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.00519, allocations: 0 / 0.9535 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.122e-05/0.005271, allocations: 12 kB / 0.9535 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.005277, allocations: 0 / 0.9535 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.39e-05/0.005311, allocations: 15.81 kB / 0.9535 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.00532, allocations: 4 kB / 0.9535 GB, free: 8.648 MB / 0.8575 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.401e-05/0.005404, allocations: 113.8 kB / 0.9536 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.005423, allocations: 8.156 kB / 0.9536 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.005648, allocations: 92.55 kB / 0.9537 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.005655, allocations: 7.984 kB / 0.9537 GB, free: 8.418 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.005662, allocations: 3.984 kB / 0.9537 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.005667, allocations: 4 kB / 0.9537 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.005795, allocations: 113.2 kB / 0.9538 GB, free: 8.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.005796, allocations: 8.156 kB / 0.9538 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.387e-05/0.00587, allocations: 15.98 kB / 0.9538 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.005873, allocations: 0 / 0.9538 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.00588, allocations: 4 kB / 0.9538 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.005882, allocations: 0 / 0.9538 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.00589, allocations: 15.86 kB / 0.9539 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.006061, allocations: 124.4 kB / 0.954 GB, free: 8.074 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-06/0.006069, allocations: 4.031 kB / 0.954 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.006086, allocations: 11.94 kB / 0.954 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.245e-05/0.006118, allocations: 4 kB / 0.954 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.006142, allocations: 15.92 kB / 0.954 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.006152, allocations: 8 kB / 0.954 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.268e-05/0.006195, allocations: 75.92 kB / 0.9541 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.006195, allocations: 0 / 0.9541 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002401/0.006435, allocations: 8 kB / 0.9541 GB, free: 7.949 MB / 0.8575 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.0001703/0.006605, allocations: 95.25 kB / 0.9542 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001277/0.006733, allocations: 39.86 kB / 0.9542 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.006735, allocations: 320 / 0.9542 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.239e-05/0.006797, allocations: 27.92 kB / 0.9543 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.006958, allocations: 8 kB / 0.9543 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.00729, allocations: 160 kB / 0.9544 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.612e-05/0.007366, allocations: 67.34 kB / 0.9545 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.922e-05/0.007405, allocations: 8.312 kB / 0.9545 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.007439, allocations: 16.5 kB / 0.9545 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.00744, allocations: 0 / 0.9545 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of Templates: time 0.003285/0.01072, allocations: 0.5379 MB / 0.955 GB, free: 6.934 MB / 0.8575 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.644770368933678]