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.001769/0.001769, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002297/0.002297, allocations: 216.7 kB / 22.25 MB, free: 5.078 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 8 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.485/3.485, allocations: 0.505 GB / 0.8101 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: "" <> 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.002389/0.002389, allocations: 71.06 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.4417, allocations: 180.2 MB / 1.353 GB, free: 8.426 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.002458/0.4442, allocations: 0.6048 MB / 1.353 GB, free: 7.824 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0003535/0.4445, allocations: 76.16 kB / 1.354 GB, free: 7.75 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.862e-05/0.4445, allocations: 0 / 1.354 GB, free: 7.75 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.236e-05/0.4446, allocations: 0 / 1.354 GB, free: 7.75 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.308e-06/0.4446, allocations: 3.938 kB / 1.354 GB, free: 7.746 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.4449, allocations: 19.92 kB / 1.354 GB, free: 7.727 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.119e-05/0.4449, allocations: 12 kB / 1.354 GB, free: 7.715 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.51e-05/0.445, allocations: 11.97 kB / 1.354 GB, free: 7.703 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.468e-05/0.445, allocations: 4 kB / 1.354 GB, free: 7.699 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.346e-05/0.4451, allocations: 7.938 kB / 1.354 GB, free: 7.691 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.4451, allocations: 0 / 1.354 GB, free: 7.691 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.652e-05/0.4452, allocations: 15.98 kB / 1.354 GB, free: 7.676 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.4452, allocations: 4 kB / 1.354 GB, free: 7.672 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.735e-05/0.4453, allocations: 15.91 kB / 1.354 GB, free: 7.656 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.4454, allocations: 16.14 kB / 1.354 GB, free: 7.641 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.4454, allocations: 0 / 1.354 GB, free: 7.641 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4454, allocations: 0 / 1.354 GB, free: 7.641 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.4454, allocations: 0 / 1.354 GB, free: 7.641 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.0004063/0.4458, allocations: 254.4 kB / 1.354 GB, free: 7.359 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.4458, allocations: 8.031 kB / 1.354 GB, free: 7.352 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.763e-05/0.4459, allocations: 34.75 kB / 1.354 GB, free: 7.309 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.4459, allocations: 8.891 kB / 1.354 GB, free: 7.301 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.927e-05/0.446, allocations: 106.5 kB / 1.354 GB, free: 7.172 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.446, allocations: 384 / 1.354 GB, free: 7.172 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.446, allocations: 4.375 kB / 1.354 GB, free: 7.168 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.4462, allocations: 82.48 kB / 1.354 GB, free: 7.066 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4462, allocations: 3.938 kB / 1.354 GB, free: 7.062 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.4462, allocations: 3.938 kB / 1.354 GB, free: 7.059 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.4462, allocations: 0 / 1.354 GB, free: 7.059 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.226e-05/0.4462, allocations: 15.92 kB / 1.354 GB, free: 7.043 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.4464, allocations: 148.2 kB / 1.354 GB, free: 6.844 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.4466, allocations: 97.06 kB / 1.354 GB, free: 6.703 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.099e-05/0.4466, allocations: 36.42 kB / 1.354 GB, free: 6.652 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001676/0.4468, allocations: 11.97 kB / 1.354 GB, free: 6.641 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.4468, allocations: 38.5 kB / 1.354 GB, free: 6.594 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.4468, allocations: 0 / 1.354 GB, free: 6.594 MB / 1.045 GB Notification: Performance of matching and sorting (n=5): time 0.0002195/0.447, allocations: 81.95 kB / 1.355 GB, free: 6.508 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.4471, allocations: 154.2 kB / 1.355 GB, free: 6.32 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.811e-05/0.4472, allocations: 93.86 kB / 1.355 GB, free: 6.219 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.4472, allocations: 25.7 kB / 1.355 GB, free: 6.188 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.4472, allocations: 80.14 kB / 1.355 GB, free: 6.105 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.335e-05/0.4473, allocations: 19.8 kB / 1.355 GB, free: 6.086 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.4473, allocations: 21.7 kB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4475, allocations: 319 kB / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.357e-05/0.4475, allocations: 3.938 kB / 1.355 GB, free: 5.734 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-05/0.4475, allocations: 40.28 kB / 1.355 GB, free: 5.68 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.548e-05/0.4476, allocations: 52.17 kB / 1.355 GB, free: 5.613 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4476, allocations: 0 / 1.355 GB, free: 5.613 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001141/0.4477, allocations: 61.56 kB / 1.355 GB, free: 5.547 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.4478, allocations: 7.984 kB / 1.355 GB, free: 5.539 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.4478, allocations: 7.938 kB / 1.355 GB, free: 5.531 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.4478, allocations: 0 / 1.355 GB, free: 5.531 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.385e-05/0.4479, allocations: 16.16 kB / 1.355 GB, free: 5.516 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.4479, allocations: 4 kB / 1.355 GB, free: 5.512 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.002e-05/0.4479, allocations: 0 / 1.355 GB, free: 5.512 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.4479, allocations: 4 kB / 1.355 GB, free: 5.508 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 0.0001/0.448, allocations: 113.8 kB / 1.356 GB, free: 5.387 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.448, allocations: 8 kB / 1.356 GB, free: 5.379 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002589/0.4483, allocations: 108.5 kB / 1.356 GB, free: 5.266 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.4483, allocations: 4 kB / 1.356 GB, free: 5.262 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.4483, allocations: 0 / 1.356 GB, free: 5.262 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.4483, allocations: 3.984 kB / 1.356 GB, free: 5.258 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.4485, allocations: 144.7 kB / 1.356 GB, free: 5.074 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.4485, allocations: 3.938 kB / 1.356 GB, free: 5.07 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.55e-05/0.4486, allocations: 15.98 kB / 1.356 GB, free: 5.055 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.4486, allocations: 4 kB / 1.356 GB, free: 5.051 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.4486, allocations: 8.094 kB / 1.356 GB, free: 5.043 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.4486, allocations: 4 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4486, allocations: 0 / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.4488, allocations: 124.4 kB / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.764e-05/0.4488, allocations: 15.88 kB / 1.356 GB, free: 4.871 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.4488, allocations: 7.938 kB / 1.356 GB, free: 4.863 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.929e-05/0.4488, allocations: 0 / 1.356 GB, free: 4.863 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.4489, allocations: 11.98 kB / 1.356 GB, free: 4.852 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-06/0.4489, allocations: 4 kB / 1.356 GB, free: 4.848 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.355e-05/0.4489, allocations: 75.28 kB / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of sort global known variables: time 5e-08/0.4489, allocations: 0 / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002172/0.4491, allocations: 4 kB / 1.356 GB, free: 4.77 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.0005955/0.4497, allocations: 0.6626 MB / 1.357 GB, free: 4.062 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001482/0.4499, allocations: 39.86 kB / 1.357 GB, free: 4.023 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4499, allocations: 0 / 1.357 GB, free: 4.023 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.118e-05/0.4499, allocations: 27.92 kB / 1.357 GB, free: 3.996 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.4501, allocations: 7.938 kB / 1.357 GB, free: 3.988 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004936/0.4506, allocations: 182.5 kB / 1.357 GB, free: 3.758 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003137/0.4509, allocations: 0.6845 MB / 1.358 GB, free: 3.047 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.465e-05/0.4509, allocations: 11.98 kB / 1.358 GB, free: 3.035 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.451, allocations: 15.44 kB / 1.358 GB, free: 3.023 MB / 1.045 GB Notification: Performance of SimCode: time 4.11e-07/0.451, allocations: 4 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.481, allocations: 1.561 MB / 1.359 GB, free: 1.586 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.4, allocations: 5.625 kB / 1.359 GB, free: 1.582 MB / 1.045 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: 18.786308141890913]