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.001376/0.001376, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001501/0.001501, allocations: 210.1 kB / 22.25 MB, free: 5.262 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.777 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.494/3.494, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_latest_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.002141/0.002141, allocations: 72.88 kB / 1.186 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4387/0.4409, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001816/0.4427, allocations: 0.599 MB / 1.364 GB, free: 13.45 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002884/0.443, allocations: 64.19 kB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.443, allocations: 0 / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.209e-05/0.443, allocations: 3.938 kB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.853e-06/0.443, allocations: 0 / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.4433, allocations: 15.98 kB / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.974e-05/0.4434, allocations: 23.91 kB / 1.364 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.984e-05/0.4434, allocations: 3.938 kB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.951e-05/0.4434, allocations: 4 kB / 1.364 GB, free: 13.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.937e-05/0.4435, allocations: 8 kB / 1.364 GB, free: 13.33 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.4435, allocations: 0 / 1.364 GB, free: 13.33 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.857e-05/0.4436, allocations: 15.98 kB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.4436, allocations: 7.922 kB / 1.364 GB, free: 13.31 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.4436, allocations: 7.984 kB / 1.364 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.606e-05/0.4437, allocations: 20.2 kB / 1.364 GB, free: 13.28 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4437, allocations: 7.875 kB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.485e-06/0.4437, allocations: 0 / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.4437, allocations: 0 / 1.364 GB, free: 13.27 MB / 1.061 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.0003965/0.4441, allocations: 248.5 kB / 1.364 GB, free: 13 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.4441, allocations: 16.03 kB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.628e-05/0.4442, allocations: 30.75 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.4442, allocations: 0.9375 kB / 1.364 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.185e-05/0.4443, allocations: 106.5 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.4443, allocations: 8.375 kB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.4443, allocations: 384 / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.4445, allocations: 78.48 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.4445, allocations: 3.938 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.4445, allocations: 0 / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.4445, allocations: 0 / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.504e-05/0.4446, allocations: 23.92 kB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.4447, allocations: 148.3 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.4449, allocations: 101 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.406e-05/0.4449, allocations: 28.36 kB / 1.365 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001479/0.4451, allocations: 4 kB / 1.365 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.4451, allocations: 46.48 kB / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.4451, allocations: 0 / 1.365 GB, free: 12.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.0002044/0.4453, allocations: 70 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.4454, allocations: 170.3 kB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.62e-05/0.4454, allocations: 93.84 kB / 1.365 GB, free: 11.86 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.4455, allocations: 25.7 kB / 1.365 GB, free: 11.83 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.4455, allocations: 80.14 kB / 1.365 GB, free: 11.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.336e-05/0.4455, allocations: 19.8 kB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.4456, allocations: 17.72 kB / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.4457, allocations: 318.8 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.863e-05/0.4457, allocations: 4 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.327e-05/0.4458, allocations: 32.3 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.699e-05/0.4459, allocations: 56.22 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4459, allocations: 0 / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001026/0.446, allocations: 61.56 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.446, allocations: 4 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.446, allocations: 11.88 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.446, allocations: 160 / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.906e-05/0.4461, allocations: 15.98 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.4461, allocations: 4 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.733e-05/0.4461, allocations: 0 / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.4461, allocations: 7.984 kB / 1.366 GB, free: 11.15 MB / 1.061 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 9.026e-05/0.4462, allocations: 113.8 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.4462, allocations: 7.938 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000216/0.4465, allocations: 112.5 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.4465, allocations: 4 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4465, allocations: 0 / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.4465, allocations: 7.984 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.4466, allocations: 128.8 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.4466, allocations: 0 / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.952e-05/0.4467, allocations: 15.98 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4467, allocations: 4 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.4467, allocations: 7.938 kB / 1.366 GB, free: 10.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.4467, allocations: 7.938 kB / 1.366 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4467, allocations: 4.156 kB / 1.366 GB, free: 10.69 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.4469, allocations: 120.5 kB / 1.366 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.4469, allocations: 11.89 kB / 1.366 GB, free: 10.53 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.4469, allocations: 7.938 kB / 1.366 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.982e-05/0.447, allocations: 4 kB / 1.366 GB, free: 10.52 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.806e-05/0.447, allocations: 7.984 kB / 1.366 GB, free: 10.51 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.114e-06/0.447, allocations: 4 kB / 1.366 GB, free: 10.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.25e-05/0.4471, allocations: 75.28 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4471, allocations: 0 / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002122/0.4473, allocations: 8 kB / 1.367 GB, free: 10.42 MB / 1.061 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.0006865/0.448, allocations: 0.6645 MB / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.4481, allocations: 31.92 kB / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4481, allocations: 0 / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.47e-05/0.4481, allocations: 27.92 kB / 1.367 GB, free: 9.656 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.4483, allocations: 11 kB / 1.367 GB, free: 9.648 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005385/0.4489, allocations: 193.7 kB / 1.367 GB, free: 9.406 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.651e-05/0.4489, allocations: 67.28 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.546e-05/0.449, allocations: 8 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.449, allocations: 11.44 kB / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of SimCode: time 4.81e-07/0.449, allocations: 0 / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03378/0.4828, allocations: 1.92 MB / 1.369 GB, free: 7.504 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.58, allocations: 5.875 kB / 1.369 GB, free: 7.5 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 840.0] 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: 19.022233703173697]