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.001116/0.001116, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001541/0.002657, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001019/0.001019, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001355/0.002373, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9552/0.9552, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0881/1.043, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.902/1.902, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5315/2.434, allocations: 123.3 MB / 0.728 GB, free: 5.805 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.783e-06/1.783e-06, allocations: 0 / 0.7294 GB, free: 4.445 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.246e-05, allocations: 2.312 kB / 0.7294 GB, free: 4.441 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.002251/0.002273, allocations: 0.6631 MB / 0.73 GB, free: 3.801 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001153/0.002388, allocations: 65.16 kB / 0.7301 GB, free: 3.738 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.124e-05/0.0024, allocations: 0.7656 kB / 0.7301 GB, free: 3.738 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.411e-06/0.002405, allocations: 0 / 0.7301 GB, free: 3.738 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 2.194e-06/0.002407, allocations: 0 / 0.7301 GB, free: 3.738 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001146/0.002522, allocations: 29.5 kB / 0.7301 GB, free: 3.711 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.882e-05/0.002571, allocations: 8.656 kB / 0.7301 GB, free: 3.703 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.00261, allocations: 8.969 kB / 0.7302 GB, free: 3.695 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.635e-05/0.002666, allocations: 8.969 kB / 0.7302 GB, free: 3.688 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.69e-05/0.002713, allocations: 10.05 kB / 0.7302 GB, free: 3.68 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.002725, allocations: 0 / 0.7302 GB, free: 3.68 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.64e-05/0.002812, allocations: 9.094 kB / 0.7302 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.002822, allocations: 0 / 0.7302 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.246e-05/0.002834, allocations: 7.031 kB / 0.7302 GB, free: 3.668 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.518e-05/0.00292, allocations: 17.08 kB / 0.7302 GB, free: 3.652 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.376e-05/0.002933, allocations: 0 / 0.7302 GB, free: 3.652 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.21e-07/0.002934, allocations: 0 / 0.7302 GB, free: 3.652 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.002946, allocations: 1.062 kB / 0.7302 GB, free: 3.652 MB / 0.698 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.0003351/0.003281, allocations: 229.7 kB / 0.7304 GB, free: 3.402 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.003325, allocations: 12.59 kB / 0.7304 GB, free: 3.391 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.00335, allocations: 0.9375 kB / 0.7304 GB, free: 3.391 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.653e-05/0.003407, allocations: 110.8 kB / 0.7305 GB, free: 3.258 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.003417, allocations: 4.375 kB / 0.7305 GB, free: 3.254 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-06/0.003424, allocations: 384 / 0.7305 GB, free: 3.254 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.907e-05/0.003513, allocations: 71.25 kB / 0.7306 GB, free: 3.164 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.00352, allocations: 4.188 kB / 0.7306 GB, free: 3.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-06/0.003526, allocations: 1.562 kB / 0.7306 GB, free: 3.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.00353, allocations: 1.312 kB / 0.7306 GB, free: 3.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.372e-05/0.003554, allocations: 24.67 kB / 0.7306 GB, free: 3.137 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.598e-05/0.00365, allocations: 88.59 kB / 0.7307 GB, free: 3.023 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.959e-05/0.003719, allocations: 90.05 kB / 0.7308 GB, free: 2.895 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.725e-05/0.003747, allocations: 40.28 kB / 0.7309 GB, free: 2.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.00387, allocations: 4.766 kB / 0.7309 GB, free: 2.836 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.003893, allocations: 39.22 kB / 0.7309 GB, free: 2.789 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.003895, allocations: 0 / 0.7309 GB, free: 2.789 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0001189/0.004014, allocations: 71.95 kB / 0.731 GB, free: 2.715 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/0.004082, allocations: 154.2 kB / 0.7311 GB, free: 2.527 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.576e-05/0.004108, allocations: 89.86 kB / 0.7312 GB, free: 2.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.004119, allocations: 30.64 kB / 0.7312 GB, free: 2.395 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.003e-05/0.004139, allocations: 80.8 kB / 0.7313 GB, free: 2.312 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.004174, allocations: 20.61 kB / 0.7313 GB, free: 2.293 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/0.004198, allocations: 17.7 kB / 0.7313 GB, free: 2.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.829e-05/0.004276, allocations: 319.7 kB / 0.7316 GB, free: 1.949 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-06/0.004285, allocations: 0 / 0.7316 GB, free: 1.949 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.71e-05/0.004312, allocations: 44.28 kB / 0.7317 GB, free: 1.891 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.745e-05/0.004359, allocations: 52.36 kB / 0.7317 GB, free: 1.828 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.004362, allocations: 0 / 0.7317 GB, free: 1.828 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.816e-05/0.00442, allocations: 50.31 kB / 0.7318 GB, free: 1.773 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.004433, allocations: 8 kB / 0.7318 GB, free: 1.766 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.004438, allocations: 0.7188 kB / 0.7318 GB, free: 1.766 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.004449, allocations: 5 kB / 0.7318 GB, free: 1.762 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.888e-05/0.004518, allocations: 19.92 kB / 0.7318 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.004521, allocations: 0 / 0.7318 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/0.00454, allocations: 9.547 kB / 0.7318 GB, free: 1.734 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.004546, allocations: 0 / 0.7318 GB, free: 1.734 MB / 0.698 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 5.547e-05/0.004601, allocations: 114.5 kB / 0.7319 GB, free: 1.613 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.077e-06/0.00461, allocations: 4.531 kB / 0.7319 GB, free: 1.609 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.004733, allocations: 82.66 kB / 0.732 GB, free: 1.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.004736, allocations: 4 kB / 0.732 GB, free: 1.516 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.004739, allocations: 5.766 kB / 0.732 GB, free: 1.512 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.004744, allocations: 7.984 kB / 0.732 GB, free: 1.504 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.236e-05/0.004816, allocations: 78.5 kB / 0.7321 GB, free: 1.41 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.004818, allocations: 0 / 0.7321 GB, free: 1.41 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.909e-05/0.004857, allocations: 29.14 kB / 0.7321 GB, free: 1.383 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-06/0.004864, allocations: 7.953 kB / 0.7321 GB, free: 1.375 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.004866, allocations: 0 / 0.7321 GB, free: 1.375 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.004871, allocations: 5.094 kB / 0.7321 GB, free: 1.371 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.004872, allocations: 0.75 kB / 0.7322 GB, free: 1.371 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.004874, allocations: 0 / 0.7322 GB, free: 1.371 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.853e-05/0.004972, allocations: 117 kB / 0.7323 GB, free: 1.227 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.834e-06/0.00498, allocations: 0.75 kB / 0.7323 GB, free: 1.227 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.418e-05/0.004994, allocations: 4 kB / 0.7323 GB, free: 1.223 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.00501, allocations: 9.453 kB / 0.7323 GB, free: 1.215 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.005014, allocations: 4 kB / 0.7323 GB, free: 1.211 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.152e-06/0.005021, allocations: 4.859 kB / 0.7323 GB, free: 1.203 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-08/0.005021, allocations: 0.7188 kB / 0.7323 GB, free: 1.203 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001173/0.005138, allocations: 9.422 kB / 0.7323 GB, free: 1.195 MB / 0.698 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.0001306/0.005268, allocations: 89.31 kB / 0.7324 GB, free: 1.098 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.99e-05/0.005348, allocations: 45.84 kB / 0.7324 GB, free: 1.051 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.005352, allocations: 1.531 kB / 0.7324 GB, free: 1.051 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.898e-05/0.005371, allocations: 24.78 kB / 0.7324 GB, free: 1.023 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.5e-05/0.005446, allocations: 14.75 kB / 0.7325 GB, free: 1.012 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002266/0.005673, allocations: 146.8 kB / 0.7326 GB, free: 0.832 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.061e-05/0.005703, allocations: 59.36 kB / 0.7327 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.892e-05/0.005732, allocations: 6.125 kB / 0.7327 GB, free: 0.75 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.005771, allocations: 59.36 kB / 0.7327 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of SimCode: time 8.42e-07/0.005772, allocations: 0 / 0.7327 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of Templates: time 0.002171/0.007943, allocations: 0.6411 MB / 0.7333 GB, free: 88 kB / 0.698 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.ref.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: 4.856219079345465]