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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 116.1 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 193.2 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.93/2.93, allocations: 489.2 MB / 0.7687 GB, free: 3.777 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001909/0.001909, allocations: 67.89 kB / 1.103 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8688/0.8707, allocations: 163.8 MB / 1.263 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001652/0.8724, allocations: 0.6018 MB / 1.263 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002445/0.8727, allocations: 61.58 kB / 1.263 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.871e-05/0.8727, allocations: 0 / 1.263 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.8727, allocations: 0 / 1.263 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.376e-06/0.8727, allocations: 3.938 kB / 1.263 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.873, allocations: 16.61 kB / 1.263 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.043e-05/0.873, allocations: 16.92 kB / 1.263 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.907e-05/0.8731, allocations: 2.672 kB / 1.263 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.001e-05/0.8731, allocations: 10.77 kB / 1.263 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.965e-05/0.8732, allocations: 4.969 kB / 1.263 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.8732, allocations: 0.5625 kB / 1.263 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.952e-05/0.8733, allocations: 15.61 kB / 1.263 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.8733, allocations: 10.48 kB / 1.263 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.8733, allocations: 14.84 kB / 1.263 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.661e-05/0.8734, allocations: 16 kB / 1.263 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.8734, allocations: 1.062 kB / 1.263 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8734, allocations: 0 / 1.263 GB, free: 7.547 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.8734, allocations: 0 / 1.263 GB, free: 7.547 MB / 0.9981 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.0002873/0.8737, allocations: 332 kB / 1.264 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.8738, allocations: 8.75 kB / 1.264 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.8738, allocations: 2.625 kB / 1.264 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.844e-05/0.8739, allocations: 161.7 kB / 1.264 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.8739, allocations: 6.047 kB / 1.264 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.717e-06/0.8739, allocations: 1.969 kB / 1.264 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.874, allocations: 80.48 kB / 1.264 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.874, allocations: 192 / 1.264 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.8741, allocations: 4.75 kB / 1.264 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.8741, allocations: 1.625 kB / 1.264 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.682e-05/0.8741, allocations: 15.97 kB / 1.264 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.8742, allocations: 190 kB / 1.264 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.751e-05/0.8743, allocations: 99.3 kB / 1.264 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.497e-05/0.8744, allocations: 34.97 kB / 1.264 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.8745, allocations: 86.89 kB / 1.264 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.8746, allocations: 37.75 kB / 1.264 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.8746, allocations: 0 / 1.264 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0001874/0.8748, allocations: 79.81 kB / 1.264 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.8748, allocations: 160.4 kB / 1.265 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.602e-05/0.8748, allocations: 90.95 kB / 1.265 GB, free: 5.996 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.8748, allocations: 26.55 kB / 1.265 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.468e-06/0.8748, allocations: 80.95 kB / 1.265 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.8749, allocations: 19.94 kB / 1.265 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.079e-05/0.8749, allocations: 18.61 kB / 1.265 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.198e-05/0.875, allocations: 313.6 kB / 1.265 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/0.875, allocations: 7.375 kB / 1.265 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.939e-05/0.875, allocations: 40.31 kB / 1.265 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.019e-05/0.8751, allocations: 49.61 kB / 1.265 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.8751, allocations: 4.625 kB / 1.265 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.223e-05/0.8752, allocations: 63.39 kB / 1.265 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.8752, allocations: 7.938 kB / 1.265 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.8752, allocations: 4.75 kB / 1.265 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.8753, allocations: 6.141 kB / 1.265 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.353e-05/0.8753, allocations: 10.41 kB / 1.265 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.8753, allocations: 0.9375 kB / 1.265 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.875e-05/0.8754, allocations: 7.109 kB / 1.265 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.8754, allocations: 3 kB / 1.265 GB, free: 5.375 MB / 0.9981 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 4.524e-05/0.8754, allocations: 113 kB / 1.265 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.8755, allocations: 7.016 kB / 1.265 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.8757, allocations: 104.4 kB / 1.266 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.8757, allocations: 2.75 kB / 1.266 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.8757, allocations: 1.594 kB / 1.266 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.8757, allocations: 6.344 kB / 1.266 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.48e-05/0.8758, allocations: 171 kB / 1.266 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.8758, allocations: 0.8438 kB / 1.266 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.926e-05/0.8759, allocations: 15.55 kB / 1.266 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.8759, allocations: 2.391 kB / 1.266 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.8759, allocations: 6.188 kB / 1.266 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.8759, allocations: 2.391 kB / 1.266 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.8759, allocations: 5.406 kB / 1.266 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.876, allocations: 127.1 kB / 1.266 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.775e-05/0.876, allocations: 81.17 kB / 1.266 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.8761, allocations: 9.953 kB / 1.266 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.779e-05/0.8761, allocations: 6.188 kB / 1.266 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.8761, allocations: 10.16 kB / 1.266 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.8761, allocations: 4.078 kB / 1.266 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.105e-05/0.8762, allocations: 75.28 kB / 1.266 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.8762, allocations: 0.8438 kB / 1.266 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002005/0.8764, allocations: 6.578 kB / 1.266 GB, free: 4.672 MB / 0.9981 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.0001337/0.8765, allocations: 115.2 kB / 1.266 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001204/0.8766, allocations: 36.73 kB / 1.266 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8766, allocations: 0.7812 kB / 1.266 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.079e-05/0.8767, allocations: 26.91 kB / 1.266 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.8768, allocations: 11.2 kB / 1.266 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/0.8771, allocations: 169 kB / 1.266 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.671e-05/0.8772, allocations: 0.6799 MB / 1.267 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.8772, allocations: 11.61 kB / 1.267 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.8772, allocations: 0.7188 kB / 1.267 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of Templates: time 0.002348/0.8796, allocations: 0.6936 MB / 1.268 GB, free: 3.598 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.771092687966302]