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.001604/0.001604, allocations: 78.02 kB / 19.76 MB, free: 2.031 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.001735/0.001735, allocations: 156.8 kB / 23.01 MB, free: 4.945 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.427/1.427, allocations: 177.2 MB / 203.4 MB, free: 8.941 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: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003407/0.003407, allocations: 67.89 kB / 1.009 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8144/0.8178, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001798/0.8196, allocations: 0.6118 MB / 1.187 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0002814/0.8199, allocations: 54.16 kB / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.9e-05/0.8199, allocations: 0 / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.407e-05/0.8199, allocations: 3.938 kB / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.354e-06/0.8199, allocations: 1.344 kB / 1.187 GB, free: 15.79 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002641/0.8202, allocations: 27.75 kB / 1.187 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 4.964e-05/0.8202, allocations: 15.59 kB / 1.187 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.899e-05/0.8202, allocations: 1.906 kB / 1.187 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.701e-05/0.8203, allocations: 4.781 kB / 1.187 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.572e-05/0.8203, allocations: 12.91 kB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.8203, allocations: 1.406 kB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.514e-05/0.8204, allocations: 17.53 kB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.8204, allocations: 5.75 kB / 1.187 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.417e-05/0.8204, allocations: 3.062 kB / 1.187 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 9.176e-05/0.8205, allocations: 23.14 kB / 1.187 GB, free: 15.73 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8205, allocations: 1.094 kB / 1.187 GB, free: 15.73 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8205, allocations: 7.938 kB / 1.187 GB, free: 15.73 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.8205, allocations: 0 / 1.187 GB, free: 15.73 MB / 1.076 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.0002926/0.8208, allocations: 248.4 kB / 1.188 GB, free: 15.47 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.8209, allocations: 9.844 kB / 1.188 GB, free: 15.47 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.8209, allocations: 3.422 kB / 1.188 GB, free: 15.47 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.173e-05/0.821, allocations: 104.8 kB / 1.188 GB, free: 15.34 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.821, allocations: 1.875 kB / 1.188 GB, free: 15.34 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.821, allocations: 1.906 kB / 1.188 GB, free: 15.34 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.8211, allocations: 77.38 kB / 1.188 GB, free: 15.26 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.8211, allocations: 192 / 1.188 GB, free: 15.26 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.8211, allocations: 13.25 kB / 1.188 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.8211, allocations: 1.344 kB / 1.188 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.634e-05/0.8212, allocations: 11.92 kB / 1.188 GB, free: 15.25 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001193/0.8213, allocations: 129.7 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.494e-05/0.8213, allocations: 96.06 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.285e-05/0.8214, allocations: 29.89 kB / 1.188 GB, free: 14.92 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001575/0.8215, allocations: 10.75 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.8216, allocations: 38.5 kB / 1.188 GB, free: 14.87 MB / 1.076 GB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.8216, allocations: 0 / 1.188 GB, free: 14.87 MB / 1.076 GB Notification: Performance of matching and sorting (n=5): time 0.0001853/0.8217, allocations: 79.89 kB / 1.188 GB, free: 14.82 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.8218, allocations: 158.1 kB / 1.188 GB, free: 14.63 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.059e-05/0.8218, allocations: 89.86 kB / 1.188 GB, free: 14.53 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.8218, allocations: 25.7 kB / 1.188 GB, free: 14.5 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.128e-05/0.8218, allocations: 82.14 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.8219, allocations: 23.52 kB / 1.189 GB, free: 14.4 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/0.8219, allocations: 14.78 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.598e-05/0.8219, allocations: 322.1 kB / 1.189 GB, free: 14.06 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.861e-05/0.822, allocations: 4.172 kB / 1.189 GB, free: 14.06 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.942e-05/0.822, allocations: 40.61 kB / 1.189 GB, free: 14.02 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.717e-05/0.8221, allocations: 46.94 kB / 1.189 GB, free: 13.97 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.8221, allocations: 1.375 kB / 1.189 GB, free: 13.97 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.391e-05/0.8221, allocations: 62.55 kB / 1.189 GB, free: 13.93 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.8222, allocations: 11 kB / 1.189 GB, free: 13.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.8222, allocations: 6.156 kB / 1.189 GB, free: 13.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.8222, allocations: 0 / 1.189 GB, free: 13.92 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-05/0.8223, allocations: 21.91 kB / 1.189 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.8223, allocations: 2.031 kB / 1.189 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.94e-05/0.8223, allocations: 2.625 kB / 1.189 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.8223, allocations: 7.188 kB / 1.189 GB, free: 13.9 MB / 1.076 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.185e-05/0.8224, allocations: 110.6 kB / 1.189 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.528e-05/0.8224, allocations: 1.281 kB / 1.189 GB, free: 13.79 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.8226, allocations: 109.5 kB / 1.189 GB, free: 13.72 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.8226, allocations: 6.047 kB / 1.189 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.8226, allocations: 2.781 kB / 1.189 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.8226, allocations: 2.016 kB / 1.189 GB, free: 13.71 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.905e-05/0.8227, allocations: 113.7 kB / 1.189 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.8227, allocations: 1.438 kB / 1.189 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.218e-05/0.8227, allocations: 15.7 kB / 1.189 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.8227, allocations: 5.469 kB / 1.189 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.8227, allocations: 3.531 kB / 1.189 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.8227, allocations: 1.094 kB / 1.189 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.8227, allocations: 9.484 kB / 1.189 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.8229, allocations: 122.8 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.8229, allocations: 8.172 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.8229, allocations: 10.42 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.99e-05/0.8229, allocations: 1.125 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.16e-05/0.8229, allocations: 10.95 kB / 1.19 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.8229, allocations: 4.531 kB / 1.19 GB, free: 13.44 MB / 1.076 GB Notification: Performance of sorting global known variables: time 1.298e-05/0.823, allocations: 79.8 kB / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of sort global known variables: time 5e-08/0.823, allocations: 0 / 1.19 GB, free: 13.36 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002178/0.8232, allocations: 9.969 kB / 1.19 GB, free: 13.36 MB / 1.076 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.0001191/0.8233, allocations: 100.5 kB / 1.19 GB, free: 13.27 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.8234, allocations: 35.8 kB / 1.19 GB, free: 13.25 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.8234, allocations: 1.219 kB / 1.19 GB, free: 13.25 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.598e-05/0.8234, allocations: 29.98 kB / 1.19 GB, free: 13.24 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.8236, allocations: 10.17 kB / 1.19 GB, free: 13.24 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002514/0.8239, allocations: 143.9 kB / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.885e-05/0.8239, allocations: 64.03 kB / 1.19 GB, free: 13.02 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.833e-05/0.8239, allocations: 13.48 kB / 1.19 GB, free: 13.01 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.673e-05/0.824, allocations: 25.14 kB / 1.19 GB, free: 12.99 MB / 1.076 GB Notification: Performance of SimCode: time 4.51e-07/0.824, allocations: 0 / 1.19 GB, free: 12.99 MB / 1.076 GB Notification: Performance of Templates: time 0.003039/0.827, allocations: 0.5382 MB / 1.191 GB, free: 12.89 MB / 1.076 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 -s ida -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/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.601218650001101]