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.001222/0.001222, allocations: 103.2 kB / 16.45 MB, free: 6.449 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.001558/0.001558, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.648/1.648, allocations: 230.6 MB / 252.8 MB, free: 9.137 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.819/2.819, allocations: 476.7 MB / 0.7672 GB, free: 5.238 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) [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.002109/0.002109, allocations: 75.88 kB / 1.112 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9525/0.9547, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001963/0.9566, allocations: 0.6069 MB / 1.279 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002937/0.9569, allocations: 73.58 kB / 1.279 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.752e-05/0.9569, allocations: 0 / 1.279 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.9569, allocations: 0 / 1.279 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.554e-06/0.957, allocations: 4 kB / 1.279 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.9572, allocations: 19.92 kB / 1.279 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.545e-05/0.9573, allocations: 11.98 kB / 1.279 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.9573, allocations: 0 / 1.279 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.069e-05/0.9573, allocations: 7.984 kB / 1.279 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.535e-05/0.9574, allocations: 11.92 kB / 1.279 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.9574, allocations: 4 kB / 1.279 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-05/0.9575, allocations: 12 kB / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.9575, allocations: 3.984 kB / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.323e-05/0.9575, allocations: 15.92 kB / 1.279 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.9576, allocations: 13.81 kB / 1.279 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.9576, allocations: 0 / 1.279 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.402e-06/0.9576, allocations: 0 / 1.279 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.9576, allocations: 0 / 1.279 GB, free: 12.65 MB / 0.9825 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.0004234/0.9581, allocations: 327.5 kB / 1.279 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.9581, allocations: 12.03 kB / 1.279 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.936e-05/0.9581, allocations: 38.75 kB / 1.279 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.905e-05/0.9582, allocations: 0.9375 kB / 1.279 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.9583, allocations: 160.4 kB / 1.28 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.9583, allocations: 4.312 kB / 1.28 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.9583, allocations: 4.375 kB / 1.28 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.9585, allocations: 74.28 kB / 1.28 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.9585, allocations: 4 kB / 1.28 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.9585, allocations: 4 kB / 1.28 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.9585, allocations: 0 / 1.28 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.43e-05/0.9585, allocations: 23.81 kB / 1.28 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002224/0.9588, allocations: 185 kB / 1.28 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.9589, allocations: 101.1 kB / 1.28 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.893e-05/0.9589, allocations: 32.41 kB / 1.28 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/0.9591, allocations: 97.03 kB / 1.28 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.9592, allocations: 38.5 kB / 1.28 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.9592, allocations: 0 / 1.28 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0002103/0.9594, allocations: 73.55 kB / 1.28 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.9595, allocations: 162.8 kB / 1.28 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.683e-05/0.9595, allocations: 93.8 kB / 1.28 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.9596, allocations: 29.7 kB / 1.28 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.001e-05/0.9596, allocations: 80.14 kB / 1.281 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.9596, allocations: 15.89 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.9597, allocations: 13.72 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.9598, allocations: 314.8 kB / 1.281 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.086e-05/0.9599, allocations: 7.984 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.333e-05/0.9599, allocations: 40.3 kB / 1.281 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.512e-05/0.96, allocations: 48.22 kB / 1.281 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.96, allocations: 4 kB / 1.281 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000114/0.9601, allocations: 61.56 kB / 1.281 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.9601, allocations: 7.938 kB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.9601, allocations: 4 kB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.9601, allocations: 0 / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.233e-05/0.9602, allocations: 11.98 kB / 1.281 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.9602, allocations: 0 / 1.281 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.664e-05/0.9603, allocations: 7.953 kB / 1.281 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.9603, allocations: 12.09 kB / 1.281 GB, free: 10.22 MB / 0.9825 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.732e-05/0.9604, allocations: 109.8 kB / 1.281 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.9604, allocations: 7.938 kB / 1.281 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.9606, allocations: 104.8 kB / 1.281 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.9606, allocations: 4 kB / 1.281 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.9606, allocations: 4 kB / 1.281 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.9606, allocations: 0 / 1.281 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.9608, allocations: 157.7 kB / 1.281 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/0.9608, allocations: 7.984 kB / 1.281 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.652e-05/0.9609, allocations: 15.94 kB / 1.281 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.9609, allocations: 7.875 kB / 1.281 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.9609, allocations: 8 kB / 1.281 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.9609, allocations: 0 / 1.281 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.9609, allocations: 4 kB / 1.281 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.9611, allocations: 124.5 kB / 1.282 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.984e-05/0.9611, allocations: 81.11 kB / 1.282 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.9612, allocations: 7.938 kB / 1.282 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.444e-05/0.9612, allocations: 8 kB / 1.282 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.9612, allocations: 7.984 kB / 1.282 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.9612, allocations: 96 / 1.282 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.54e-05/0.9613, allocations: 87.22 kB / 1.282 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9613, allocations: 0 / 1.282 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002239/0.9615, allocations: 4 kB / 1.282 GB, free: 9.363 MB / 0.9825 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.0006078/0.9621, allocations: 0.6747 MB / 1.282 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001334/0.9622, allocations: 36.17 kB / 1.282 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.9622, allocations: 4.062 kB / 1.282 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.069e-05/0.9623, allocations: 27.92 kB / 1.283 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.9625, allocations: 10.19 kB / 1.283 GB, free: 8.57 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004884/0.963, allocations: 175.6 kB / 1.283 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.9633, allocations: 0.6887 MB / 1.283 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.255e-05/0.9634, allocations: 8 kB / 1.283 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.9634, allocations: 11.44 kB / 1.283 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.9634, allocations: 0 / 1.283 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/0.9886, allocations: 1.447 MB / 1.285 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/9.005, allocations: 3.438 kB / 1.285 GB, free: 6.25 MB / 0.9825 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round_res.csv --start-time -2 --stop-time 2 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_11_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins1/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: 15.249013087013736]