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.001832/0.001832, allocations: 79.97 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.002236/0.002236, allocations: 164.2 kB / 22.46 MB, free: 5.355 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.599/1.599, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.926/2.926, allocations: 389 MB / 0.633 GB, free: 1 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.454e-06/2.454e-06, allocations: 0 / 1 GB, free: 6.145 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.231e-05/4.476e-05, allocations: 9.031 kB / 1 GB, free: 6.137 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001799/0.001844, allocations: 0.6092 MB / 1.001 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0002857/0.00213, allocations: 55.73 kB / 1.001 GB, free: 5.477 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.41e-05/0.002164, allocations: 4 kB / 1.001 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.002182, allocations: 7.938 kB / 1.001 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 9.408e-06/0.002191, allocations: 0 / 1.001 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.002482, allocations: 23.91 kB / 1.001 GB, free: 5.441 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 5.37e-05/0.002536, allocations: 11.98 kB / 1.001 GB, free: 5.43 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.568e-05/0.002582, allocations: 4 kB / 1.001 GB, free: 5.426 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.002621, allocations: 4 kB / 1.001 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.98e-05/0.002681, allocations: 7.969 kB / 1.001 GB, free: 5.414 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.002696, allocations: 4 kB / 1.001 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 7.814e-05/0.002774, allocations: 11.94 kB / 1.001 GB, free: 5.398 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.002797, allocations: 7.984 kB / 1.001 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.06e-05/0.002818, allocations: 7.938 kB / 1.001 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.002922, allocations: 19.97 kB / 1.001 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.002926, allocations: 0 / 1.001 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.042e-06/0.002927, allocations: 0 / 1.001 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.002932, allocations: 0 / 1.001 GB, free: 5.363 MB / 0.9044 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.0003976/0.003329, allocations: 258.3 kB / 1.001 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.003365, allocations: 8.031 kB / 1.001 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.003398, allocations: 0.9375 kB / 1.001 GB, free: 5.07 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.003502, allocations: 105.8 kB / 1.001 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.003514, allocations: 384 / 1.001 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.003523, allocations: 4.375 kB / 1.001 GB, free: 4.938 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.003676, allocations: 78.48 kB / 1.001 GB, free: 4.84 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.003686, allocations: 192 / 1.001 GB, free: 4.84 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.003695, allocations: 384 / 1.001 GB, free: 4.84 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.003704, allocations: 8.297 kB / 1.001 GB, free: 4.832 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.081e-05/0.003745, allocations: 15.88 kB / 1.001 GB, free: 4.816 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.003945, allocations: 128.9 kB / 1.002 GB, free: 4.648 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.004082, allocations: 97.03 kB / 1.002 GB, free: 4.508 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.184e-05/0.004133, allocations: 40.36 kB / 1.002 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001561/0.004289, allocations: 11.98 kB / 1.002 GB, free: 4.441 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.004327, allocations: 42.5 kB / 1.002 GB, free: 4.391 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.004328, allocations: 0 / 1.002 GB, free: 4.391 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5): time 0.0002151/0.004544, allocations: 65.56 kB / 1.002 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.004654, allocations: 162.2 kB / 1.002 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.973e-05/0.004714, allocations: 89.86 kB / 1.002 GB, free: 4.027 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.004735, allocations: 29.7 kB / 1.002 GB, free: 3.992 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.411e-05/0.004769, allocations: 80.77 kB / 1.002 GB, free: 3.91 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.004809, allocations: 15.86 kB / 1.002 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.004847, allocations: 25.66 kB / 1.002 GB, free: 3.863 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.005004, allocations: 318.8 kB / 1.002 GB, free: 3.543 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.38e-05/0.005028, allocations: 8 kB / 1.002 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.504e-05/0.005073, allocations: 36.23 kB / 1.003 GB, free: 3.484 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.438e-05/0.005157, allocations: 52.22 kB / 1.003 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.005159, allocations: 0 / 1.003 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001284/0.005288, allocations: 61.62 kB / 1.003 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.005302, allocations: 4 kB / 1.003 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.00531, allocations: 7.938 kB / 1.003 GB, free: 3.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.005325, allocations: 0 / 1.003 GB, free: 3.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.435e-05/0.005409, allocations: 11.98 kB / 1.003 GB, free: 3.328 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.005417, allocations: 4 kB / 1.003 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.552e-05/0.005452, allocations: 7.875 kB / 1.003 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.005463, allocations: 4 kB / 1.003 GB, free: 3.312 MB / 0.9044 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.872e-05/0.005551, allocations: 114 kB / 1.003 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.005571, allocations: 11.94 kB / 1.003 GB, free: 3.18 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002309/0.005801, allocations: 92.55 kB / 1.003 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.005806, allocations: 4 kB / 1.003 GB, free: 3.078 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.005811, allocations: 0 / 1.003 GB, free: 3.078 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.005819, allocations: 8.109 kB / 1.003 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.005956, allocations: 117.4 kB / 1.003 GB, free: 2.926 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.005957, allocations: 0 / 1.003 GB, free: 2.926 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.453e-05/0.006022, allocations: 19.92 kB / 1.003 GB, free: 2.906 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.006027, allocations: 4 kB / 1.003 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.006035, allocations: 0 / 1.003 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.006041, allocations: 4 kB / 1.003 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.006042, allocations: 0 / 1.003 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.006221, allocations: 128.3 kB / 1.003 GB, free: 2.742 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 1.603e-05/0.006237, allocations: 11.92 kB / 1.003 GB, free: 2.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.006252, allocations: 0 / 1.003 GB, free: 2.73 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.155e-05/0.006283, allocations: 8 kB / 1.003 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.006313, allocations: 15.92 kB / 1.003 GB, free: 2.707 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.006318, allocations: 0 / 1.003 GB, free: 2.707 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.182e-05/0.00637, allocations: 75.28 kB / 1.003 GB, free: 2.633 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.00637, allocations: 7.938 kB / 1.003 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002187/0.006589, allocations: 8 kB / 1.003 GB, free: 2.617 MB / 0.9044 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.000209/0.006798, allocations: 107.2 kB / 1.003 GB, free: 2.504 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.006922, allocations: 32.17 kB / 1.003 GB, free: 2.473 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.006924, allocations: 4.062 kB / 1.003 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.529e-05/0.006969, allocations: 27.92 kB / 1.003 GB, free: 2.441 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.007143, allocations: 8 kB / 1.003 GB, free: 2.434 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003639/0.007507, allocations: 148.1 kB / 1.004 GB, free: 2.25 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.085e-05/0.007577, allocations: 63.34 kB / 1.004 GB, free: 2.168 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.068e-05/0.007618, allocations: 16.3 kB / 1.004 GB, free: 2.152 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.00765, allocations: 12.5 kB / 1.004 GB, free: 2.137 MB / 0.9044 GB Notification: Performance of SimCode: time 3e-07/0.007651, allocations: 0 / 1.004 GB, free: 2.137 MB / 0.9044 GB Notification: Performance of Templates: time 0.003266/0.01092, allocations: 0.5481 MB / 1.004 GB, free: 1.59 MB / 0.9044 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.141589470207691]