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.001334/0.001334, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001474/0.001474, allocations: 220.3 kB / 23.01 MB, free: 4.609 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.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 3.179/3.179, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 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.001984/0.001984, allocations: 71.92 kB / 1.178 GB, free: 16.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3329, allocations: 180.2 MB / 1.354 GB, free: 7.871 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001753/0.3346, allocations: 0.6122 MB / 1.355 GB, free: 7.262 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002799/0.3349, allocations: 68.17 kB / 1.355 GB, free: 7.195 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.271e-05/0.3349, allocations: 7.938 kB / 1.355 GB, free: 7.188 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.398e-05/0.3349, allocations: 0 / 1.355 GB, free: 7.188 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 1.016e-05/0.335, allocations: 3.938 kB / 1.355 GB, free: 7.184 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.3352, allocations: 15.98 kB / 1.355 GB, free: 7.168 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.556e-05/0.3352, allocations: 15.97 kB / 1.355 GB, free: 7.152 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.3353, allocations: 0 / 1.355 GB, free: 7.152 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.496e-05/0.3353, allocations: 4 kB / 1.355 GB, free: 7.148 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/0.3354, allocations: 11.94 kB / 1.355 GB, free: 7.137 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.3354, allocations: 0 / 1.355 GB, free: 7.137 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.397e-05/0.3354, allocations: 19.92 kB / 1.355 GB, free: 7.117 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.671e-05/0.3355, allocations: 11.97 kB / 1.355 GB, free: 7.105 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.16e-05/0.3355, allocations: 7.938 kB / 1.355 GB, free: 7.098 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.398e-05/0.3356, allocations: 15.92 kB / 1.355 GB, free: 7.082 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3356, allocations: 0 / 1.355 GB, free: 7.082 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3356, allocations: 0 / 1.355 GB, free: 7.082 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.3356, allocations: 0 / 1.355 GB, free: 7.082 MB / 1.045 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.0004042/0.336, allocations: 250.4 kB / 1.355 GB, free: 6.805 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.336, allocations: 12.03 kB / 1.355 GB, free: 6.793 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.131e-05/0.3361, allocations: 4.891 kB / 1.355 GB, free: 6.789 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.742e-05/0.3361, allocations: 106.5 kB / 1.355 GB, free: 6.66 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.3362, allocations: 8.375 kB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.3362, allocations: 384 / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.3363, allocations: 70.48 kB / 1.355 GB, free: 6.562 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3363, allocations: 4.188 kB / 1.355 GB, free: 6.559 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3363, allocations: 3.938 kB / 1.355 GB, free: 6.555 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3363, allocations: 4 kB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.866e-05/0.3364, allocations: 15.92 kB / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/0.3366, allocations: 152.3 kB / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.3367, allocations: 105.1 kB / 1.356 GB, free: 6.184 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.154e-05/0.3367, allocations: 28.3 kB / 1.356 GB, free: 6.141 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001456/0.3369, allocations: 11.98 kB / 1.356 GB, free: 6.129 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.3369, allocations: 38.5 kB / 1.356 GB, free: 6.082 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3369, allocations: 0 / 1.356 GB, free: 6.082 MB / 1.045 GB Notification: Performance of matching and sorting (n=5): time 0.0001817/0.3371, allocations: 73.48 kB / 1.356 GB, free: 6.004 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.955e-05/0.3372, allocations: 166.8 kB / 1.356 GB, free: 5.805 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.286e-05/0.3372, allocations: 89.86 kB / 1.356 GB, free: 5.707 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.3373, allocations: 25.7 kB / 1.356 GB, free: 5.676 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.854e-05/0.3373, allocations: 80.14 kB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.3373, allocations: 19.8 kB / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.3374, allocations: 21.7 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3375, allocations: 314.8 kB / 1.356 GB, free: 5.23 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.3375, allocations: 4 kB / 1.356 GB, free: 5.227 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.812e-05/0.3376, allocations: 48.16 kB / 1.356 GB, free: 5.164 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.706e-05/0.3377, allocations: 48.23 kB / 1.357 GB, free: 5.102 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3377, allocations: 4 kB / 1.357 GB, free: 5.098 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001063/0.3378, allocations: 61.56 kB / 1.357 GB, free: 5.031 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.3378, allocations: 11.98 kB / 1.357 GB, free: 5.02 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.3378, allocations: 0 / 1.357 GB, free: 5.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3378, allocations: 3.938 kB / 1.357 GB, free: 5.016 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.865e-05/0.3379, allocations: 8 kB / 1.357 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3379, allocations: 4 kB / 1.357 GB, free: 5.004 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.753e-05/0.3379, allocations: 0 / 1.357 GB, free: 5.004 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.3379, allocations: 8.156 kB / 1.357 GB, free: 4.996 MB / 1.045 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.9e-05/0.338, allocations: 122.4 kB / 1.357 GB, free: 4.867 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.241e-05/0.338, allocations: 0 / 1.357 GB, free: 4.867 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001918/0.3382, allocations: 108.5 kB / 1.357 GB, free: 4.754 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.3382, allocations: 4 kB / 1.357 GB, free: 4.75 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3382, allocations: 0 / 1.357 GB, free: 4.75 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3382, allocations: 4 kB / 1.357 GB, free: 4.746 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.3384, allocations: 140.7 kB / 1.357 GB, free: 4.566 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3384, allocations: 0 / 1.357 GB, free: 4.566 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.568e-05/0.3384, allocations: 12 kB / 1.357 GB, free: 4.555 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.3384, allocations: 7.984 kB / 1.357 GB, free: 4.547 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.3384, allocations: 20 kB / 1.357 GB, free: 4.527 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3384, allocations: 0 / 1.357 GB, free: 4.527 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3384, allocations: 0 / 1.357 GB, free: 4.527 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.3386, allocations: 116.6 kB / 1.357 GB, free: 4.383 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.067e-05/0.3386, allocations: 19.81 kB / 1.357 GB, free: 4.363 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.3386, allocations: 11.94 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.806e-05/0.3387, allocations: 4 kB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.915e-05/0.3387, allocations: 7.984 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.3387, allocations: 4 kB / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.11e-05/0.3387, allocations: 75.28 kB / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3387, allocations: 0 / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002066/0.3389, allocations: 12 kB / 1.357 GB, free: 4.25 MB / 1.045 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.0001637/0.3391, allocations: 91.25 kB / 1.357 GB, free: 4.148 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.3392, allocations: 43.95 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3392, allocations: 7.938 kB / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.508e-05/0.3392, allocations: 19.92 kB / 1.357 GB, free: 4.078 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.3394, allocations: 9.719 kB / 1.357 GB, free: 4.07 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.3397, allocations: 170.6 kB / 1.358 GB, free: 3.859 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.34, allocations: 0.6846 MB / 1.358 GB, free: 3.148 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.3401, allocations: 15.42 kB / 1.358 GB, free: 3.137 MB / 1.045 GB Notification: Performance of SimCode: time 3.21e-07/0.3401, allocations: 3.938 kB / 1.358 GB, free: 3.133 MB / 1.045 GB Notification: Performance of Templates: time 0.002288/0.3423, allocations: 0.684 MB / 1.359 GB, free: 2.449 MB / 1.045 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/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: 10.894543634000001]