Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001094/0.001094, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001663/0.002757, allocations: 440 kB / 10.41 MB, free: 284 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.001093/0.001093, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00143/0.002523, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 1.018/1.018, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08971/1.108, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.421/2.421, allocations: 447.1 MB / 0.675 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2496/2.671, allocations: 146 MB / 0.8176 GB, free: 3.809 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 4 kB / 0.819 GB, free: 2.414 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.548e-06/1.193e-05, allocations: 2.312 kB / 0.819 GB, free: 2.41 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001265/0.001276, allocations: 0.6724 MB / 0.8196 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001096/0.001386, allocations: 59.73 kB / 0.8197 GB, free: 1.676 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.062e-05/0.001397, allocations: 0 / 0.8197 GB, free: 1.676 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.078e-06/0.001401, allocations: 0 / 0.8197 GB, free: 1.676 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.104e-06/0.001403, allocations: 0 / 0.8197 GB, free: 1.676 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001008/0.001504, allocations: 31.84 kB / 0.8197 GB, free: 1.645 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.581e-05/0.001549, allocations: 8 kB / 0.8197 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.001584, allocations: 4 kB / 0.8197 GB, free: 1.633 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.621e-05/0.00162, allocations: 11.92 kB / 0.8198 GB, free: 1.621 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.124e-05/0.001671, allocations: 7.984 kB / 0.8198 GB, free: 1.613 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.001682, allocations: 0 / 0.8198 GB, free: 1.613 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.407e-05/0.001756, allocations: 15.98 kB / 0.8198 GB, free: 1.598 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.001767, allocations: 0 / 0.8198 GB, free: 1.598 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.133e-05/0.001778, allocations: 4 kB / 0.8198 GB, free: 1.594 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 7.719e-05/0.001856, allocations: 15.92 kB / 0.8198 GB, free: 1.578 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.001866, allocations: 4 kB / 0.8198 GB, free: 1.574 MB / 0.7917 GB Notification: Performance of FrontEnd: time 4.51e-07/0.001867, allocations: 0 / 0.8198 GB, free: 1.574 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.00188, allocations: 0 / 0.8198 GB, free: 1.574 MB / 0.7917 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.0002954/0.002175, allocations: 236.6 kB / 0.82 GB, free: 1.316 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.002203, allocations: 8.031 kB / 0.82 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.002232, allocations: 8.938 kB / 0.82 GB, free: 1.301 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.389e-05/0.002296, allocations: 105.7 kB / 0.8201 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.002305, allocations: 384 / 0.8201 GB, free: 1.172 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.002316, allocations: 4.375 kB / 0.8202 GB, free: 1.168 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.031e-05/0.002407, allocations: 70.53 kB / 0.8202 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.002415, allocations: 8.188 kB / 0.8202 GB, free: 1.07 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.382e-06/0.002421, allocations: 384 / 0.8202 GB, free: 1.07 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.002427, allocations: 384 / 0.8202 GB, free: 1.07 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.439e-05/0.002451, allocations: 19.81 kB / 0.8202 GB, free: 1.051 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.732e-05/0.002549, allocations: 92.5 kB / 0.8203 GB, free: 0.9336 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.151e-05/0.00262, allocations: 89.06 kB / 0.8204 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.897e-05/0.002649, allocations: 36.36 kB / 0.8205 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001061/0.002755, allocations: 7.984 kB / 0.8205 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.002778, allocations: 42.56 kB / 0.8205 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.002778, allocations: 0 / 0.8205 GB, free: 0.6914 MB / 0.7917 GB Notification: Performance of matching and sorting (n=5): time 0.0001126/0.002891, allocations: 57.56 kB / 0.8206 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.002946, allocations: 158.2 kB / 0.8207 GB, free: 448 kB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.565e-05/0.002972, allocations: 97.84 kB / 0.8208 GB, free: 340 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.002983, allocations: 33.64 kB / 0.8208 GB, free: 300 kB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 1.858e-05/0.003002, allocations: 80.14 kB / 0.8209 GB, free: 216 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.003034, allocations: 12.53 kB / 0.8209 GB, free: 204 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.003062, allocations: 21.7 kB / 0.8209 GB, free: 176 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.482e-05/0.003147, allocations: 326.8 kB / 0.8213 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.524e-06/0.003155, allocations: 0 / 0.8213 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.003179, allocations: 32.3 kB / 0.8213 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002065/0.005244, allocations: 48.2 kB / 0.8213 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.005246, allocations: 0 / 0.8213 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.897e-05/0.005325, allocations: 65.55 kB / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.005337, allocations: 4 kB / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.005342, allocations: 0 / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.005355, allocations: 4 kB / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.773e-05/0.005423, allocations: 11.94 kB / 0.8214 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.125e-06/0.005426, allocations: 0 / 0.8214 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.591e-05/0.005452, allocations: 11.94 kB / 0.8214 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.005458, allocations: 0 / 0.8214 GB, free: 15.63 MB / 0.8073 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.863e-05/0.005517, allocations: 113.8 kB / 0.8215 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.005529, allocations: 12.16 kB / 0.8215 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.005656, allocations: 84.59 kB / 0.8216 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.005659, allocations: 0 / 0.8216 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.005662, allocations: 4 kB / 0.8216 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.005666, allocations: 0 / 0.8216 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.048e-05/0.005757, allocations: 81.81 kB / 0.8217 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.005759, allocations: 8.156 kB / 0.8217 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.188e-05/0.005801, allocations: 15.94 kB / 0.8217 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-06/0.00581, allocations: 7.953 kB / 0.8217 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.005813, allocations: 3.984 kB / 0.8217 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.005819, allocations: 4 kB / 0.8217 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.00582, allocations: 0 / 0.8217 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.005822, allocations: 4 kB / 0.8217 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.368e-05/0.005916, allocations: 108.5 kB / 0.8219 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.045e-05/0.005926, allocations: 0 / 0.8219 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.081e-05/0.005947, allocations: 4 kB / 0.8219 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.005966, allocations: 15.98 kB / 0.8219 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.005969, allocations: 0 / 0.8219 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.07e-05/0.005979, allocations: 16.8 kB / 0.8219 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.005979, allocations: 0 / 0.8219 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001688/0.006148, allocations: 4 kB / 0.8219 GB, free: 15.09 MB / 0.8073 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.0001199/0.006268, allocations: 92.28 kB / 0.822 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.82e-05/0.006346, allocations: 40.72 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.00635, allocations: 480 / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.601e-05/0.006386, allocations: 36.78 kB / 0.8221 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.359e-05/0.006469, allocations: 17.23 kB / 0.8221 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002263/0.006696, allocations: 151.9 kB / 0.8222 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.6e-05/0.006732, allocations: 55.36 kB / 0.8223 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.323e-05/0.006765, allocations: 12.47 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.718e-05/0.006812, allocations: 59.36 kB / 0.8223 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of SimCode: time 5.11e-07/0.006813, allocations: 0 / 0.8223 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of Templates: time 0.005604/0.01242, allocations: 0.6331 MB / 0.823 GB, free: 13.93 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.258243774995208]