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.0008537/0.0008537, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008517/0.0008517, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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.896/0.896, allocations: 177.1 MB / 203.5 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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 1.696/1.696, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] 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.302e-06/1.302e-06, allocations: 0 / 0.9518 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.895e-05, allocations: 14.08 kB / 0.9518 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.0009763/0.0009952, allocations: 0.5955 MB / 0.9524 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000203/0.001198, allocations: 59.73 kB / 0.9524 GB, free: 2.277 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.623e-05/0.001214, allocations: 0 / 0.9524 GB, free: 2.277 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.483e-05/0.001229, allocations: 0 / 0.9524 GB, free: 2.277 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.775e-06/0.001237, allocations: 7.938 kB / 0.9524 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.001475, allocations: 19.97 kB / 0.9525 GB, free: 2.25 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 4.583e-05/0.001521, allocations: 8 kB / 0.9525 GB, free: 2.242 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.924e-05/0.00157, allocations: 3.984 kB / 0.9525 GB, free: 2.238 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 2.835e-05/0.001598, allocations: 8 kB / 0.9525 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.476e-05/0.001643, allocations: 11.92 kB / 0.9525 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.001656, allocations: 0 / 0.9525 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 6.466e-05/0.001721, allocations: 11.98 kB / 0.9525 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.001735, allocations: 0 / 0.9525 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.674e-05/0.001751, allocations: 11.92 kB / 0.9525 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 8.283e-05/0.001834, allocations: 23.97 kB / 0.9525 GB, free: 2.172 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.001836, allocations: 0 / 0.9525 GB, free: 2.172 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.22e-07/0.001837, allocations: 0 / 0.9525 GB, free: 2.172 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.00184, allocations: 0 / 0.9525 GB, free: 2.172 MB / 0.9011 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.0002703/0.00211, allocations: 254.3 kB / 0.9528 GB, free: 1.891 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.002145, allocations: 12.03 kB / 0.9528 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.757e-05/0.002172, allocations: 4.922 kB / 0.9528 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.453e-05/0.002227, allocations: 105.7 kB / 0.9529 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.002237, allocations: 8.312 kB / 0.9529 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.002249, allocations: 4.375 kB / 0.9529 GB, free: 1.734 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.002357, allocations: 74.48 kB / 0.953 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.002366, allocations: 8.172 kB / 0.953 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.002375, allocations: 384 / 0.953 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.00238, allocations: 384 / 0.953 GB, free: 1.633 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.954e-05/0.00241, allocations: 19.86 kB / 0.953 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001237/0.002533, allocations: 124.8 kB / 0.9531 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.303e-05/0.002606, allocations: 105.1 kB / 0.9532 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.948e-05/0.002636, allocations: 28.36 kB / 0.9533 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.002773, allocations: 4 kB / 0.9533 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.002799, allocations: 50.48 kB / 0.9533 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.0028, allocations: 0 / 0.9533 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of matching and sorting (n=5): time 0.0001582/0.002958, allocations: 69.56 kB / 0.9534 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.83e-05/0.003016, allocations: 154.2 kB / 0.9535 GB, free: 0.9336 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.649e-05/0.003043, allocations: 93.86 kB / 0.9536 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.003053, allocations: 25.7 kB / 0.9536 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 1.888e-05/0.003071, allocations: 80.14 kB / 0.9537 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.003104, allocations: 21.08 kB / 0.9537 GB, free: 0.6992 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.529e-05/0.003129, allocations: 25.72 kB / 0.9538 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.003e-05/0.003209, allocations: 318.8 kB / 0.9541 GB, free: 356 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.003224, allocations: 7.984 kB / 0.9541 GB, free: 348 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.251e-05/0.003246, allocations: 32.23 kB / 0.9541 GB, free: 300 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.982e-05/0.003296, allocations: 56.22 kB / 0.9541 GB, free: 228 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.003298, allocations: 0 / 0.9541 GB, free: 228 kB / 0.9011 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.161e-05/0.003359, allocations: 61.62 kB / 0.9542 GB, free: 160 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.003369, allocations: 4 kB / 0.9542 GB, free: 156 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.003374, allocations: 0 / 0.9542 GB, free: 156 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.003384, allocations: 4 kB / 0.9542 GB, free: 152 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.002e-05/0.003445, allocations: 15.92 kB / 0.9542 GB, free: 136 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.003452, allocations: 0 / 0.9542 GB, free: 136 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.967e-05/0.003471, allocations: 12 kB / 0.9542 GB, free: 124 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.003481, allocations: 4 kB / 0.9542 GB, free: 120 kB / 0.9011 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 6.097e-05/0.003542, allocations: 113.8 kB / 0.9544 GB, free: 16 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-06/0.003549, allocations: 8.156 kB / 0.9544 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.003674, allocations: 96.53 kB / 0.9545 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.003677, allocations: 7.938 kB / 0.9545 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.003682, allocations: 0 / 0.9545 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.003684, allocations: 0 / 0.9545 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.315e-05/0.003758, allocations: 117.2 kB / 0.9546 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.003759, allocations: 8.156 kB / 0.9546 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.836e-05/0.003788, allocations: 19.88 kB / 0.9546 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.003789, allocations: 0 / 0.9546 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.003798, allocations: 7.984 kB / 0.9546 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.003799, allocations: 0 / 0.9546 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.0038, allocations: 4 kB / 0.9546 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.494e-05/0.003885, allocations: 116.4 kB / 0.9547 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.632e-06/0.003892, allocations: 11.89 kB / 0.9547 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.003904, allocations: 11.98 kB / 0.9547 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.325e-05/0.003917, allocations: 0 / 0.9547 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.003931, allocations: 11.94 kB / 0.9548 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.003937, allocations: 7.984 kB / 0.9548 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.102e-05/0.003958, allocations: 79.28 kB / 0.9548 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.003958, allocations: 0 / 0.9548 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001339/0.004092, allocations: 8 kB / 0.9548 GB, free: 15.43 MB / 0.9167 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 9.69e-05/0.004188, allocations: 103.2 kB / 0.9549 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.859e-05/0.004267, allocations: 35.92 kB / 0.955 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.004269, allocations: 320 / 0.955 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.019e-05/0.004289, allocations: 27.92 kB / 0.955 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001103/0.004399, allocations: 11.94 kB / 0.955 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002092/0.004608, allocations: 169.8 kB / 0.9552 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.748e-05/0.004646, allocations: 63.34 kB / 0.9552 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.004665, allocations: 16.5 kB / 0.9553 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of SimCode: time 3.5e-07/0.004665, allocations: 4 kB / 0.9553 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of Templates: time 0.001453/0.006118, allocations: 0.715 MB / 0.956 GB, free: 14.21 MB / 0.9167 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: 6.240583133883774]