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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 108.1 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 196.6 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.789/2.789, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 59.91 kB / 1.104 GB, free: 9.246 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7604/0.7623, allocations: 168.7 MB / 1.269 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001876/0.7642, allocations: 0.5875 MB / 1.269 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002768/0.7645, allocations: 81.52 kB / 1.269 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.644e-05/0.7645, allocations: 0 / 1.269 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.213e-05/0.7645, allocations: 0 / 1.269 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.063e-06/0.7645, allocations: 0 / 1.269 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.7648, allocations: 19.92 kB / 1.269 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.645e-05/0.7648, allocations: 12 kB / 1.269 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.752e-05/0.7649, allocations: 3.938 kB / 1.269 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.313e-05/0.7649, allocations: 11.97 kB / 1.269 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.895e-05/0.7649, allocations: 11.94 kB / 1.269 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.538e-06/0.765, allocations: 0 / 1.269 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.691e-05/0.765, allocations: 15.98 kB / 1.27 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.488e-06/0.765, allocations: 0 / 1.27 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.31e-05/0.7651, allocations: 11.94 kB / 1.27 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.501e-05/0.7651, allocations: 17.78 kB / 1.27 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.7651, allocations: 0 / 1.27 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7652, allocations: 0 / 1.27 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.7652, allocations: 0 / 1.27 GB, free: 4.367 MB / 0.9669 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.0004204/0.7656, allocations: 335.5 kB / 1.27 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.7656, allocations: 8.031 kB / 1.27 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.736e-05/0.7657, allocations: 34.75 kB / 1.27 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.128e-05/0.7657, allocations: 0.9375 kB / 1.27 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.7658, allocations: 172.3 kB / 1.27 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-06/0.7658, allocations: 384 / 1.27 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.7658, allocations: 4.375 kB / 1.27 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.766, allocations: 70.55 kB / 1.27 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.766, allocations: 3.938 kB / 1.27 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.766, allocations: 7.938 kB / 1.27 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.766, allocations: 0 / 1.27 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.219e-05/0.766, allocations: 19.92 kB / 1.27 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002056/0.7662, allocations: 181.2 kB / 1.27 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.7664, allocations: 101 kB / 1.27 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.7664, allocations: 32.3 kB / 1.27 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001908/0.7666, allocations: 89.09 kB / 1.271 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.7666, allocations: 34.56 kB / 1.271 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.7666, allocations: 0 / 1.271 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.000205/0.7668, allocations: 78.02 kB / 1.271 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.7669, allocations: 166.2 kB / 1.271 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.57e-05/0.767, allocations: 89.86 kB / 1.271 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.767, allocations: 25.7 kB / 1.271 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.136e-05/0.7671, allocations: 80.14 kB / 1.271 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.7671, allocations: 23.84 kB / 1.271 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.7671, allocations: 17.7 kB / 1.271 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.7673, allocations: 314.8 kB / 1.271 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.7673, allocations: 8 kB / 1.271 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.966e-05/0.7674, allocations: 32.28 kB / 1.271 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.844e-05/0.7674, allocations: 52.23 kB / 1.271 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.7674, allocations: 0 / 1.271 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001084/0.7676, allocations: 61.56 kB / 1.271 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.7676, allocations: 15.92 kB / 1.272 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.7676, allocations: 3.938 kB / 1.272 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.7676, allocations: 4 kB / 1.272 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.931e-05/0.7677, allocations: 8 kB / 1.272 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.7677, allocations: 3.938 kB / 1.272 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.824e-05/0.7677, allocations: 4.156 kB / 1.272 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.7677, allocations: 4 kB / 1.272 GB, free: 1.941 MB / 0.9669 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 0.0001084/0.7678, allocations: 117.8 kB / 1.272 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.7679, allocations: 0 / 1.272 GB, free: 1.816 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.7681, allocations: 116.6 kB / 1.272 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.7681, allocations: 4 kB / 1.272 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.7681, allocations: 0 / 1.272 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.7681, allocations: 4 kB / 1.272 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.7683, allocations: 157.7 kB / 1.272 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.7683, allocations: 0 / 1.272 GB, free: 1.484 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.043e-05/0.7683, allocations: 27.91 kB / 1.272 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.7683, allocations: 0 / 1.272 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.7684, allocations: 11.94 kB / 1.272 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.7684, allocations: 4.094 kB / 1.272 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7684, allocations: 4 kB / 1.272 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001617/0.7685, allocations: 112.5 kB / 1.272 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.7686, allocations: 89.05 kB / 1.272 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.7686, allocations: 15.94 kB / 1.272 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.794e-05/0.7686, allocations: 0 / 1.272 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.275e-05/0.7686, allocations: 4 kB / 1.272 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.7687, allocations: 7.984 kB / 1.272 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.491e-05/0.7687, allocations: 75.28 kB / 1.272 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.7687, allocations: 3.938 kB / 1.272 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002175/0.7689, allocations: 12 kB / 1.272 GB, free: 1.074 MB / 0.9669 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.0005753/0.7695, allocations: 0.6632 MB / 1.273 GB, free: 376 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001307/0.7696, allocations: 43.86 kB / 1.273 GB, free: 332 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7696, allocations: 0 / 1.273 GB, free: 332 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.014e-05/0.7697, allocations: 23.94 kB / 1.273 GB, free: 308 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.7698, allocations: 11.92 kB / 1.273 GB, free: 296 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004453/0.7703, allocations: 182.5 kB / 1.273 GB, free: 60 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.7706, allocations: 0.6807 MB / 1.274 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.285e-05/0.7707, allocations: 11.98 kB / 1.274 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.7707, allocations: 11.44 kB / 1.274 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.7707, allocations: 0 / 1.274 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02373/0.7944, allocations: 1.451 MB / 1.275 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.133/8.928, allocations: 4.688 kB / 1.275 GB, free: 13.96 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.061416736803949]