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.001753/0.001753, allocations: 110.8 kB / 17.96 MB, free: 3.895 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.002182/0.002182, allocations: 196.4 kB / 21.22 MB, free: 0.6484 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.487/1.487, allocations: 225.6 MB / 249.9 MB, free: 13.35 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.959/2.959, allocations: 476.7 MB / 0.7634 GB, free: 10.9 MB / 0.6231 GB " [Timeout remaining time 176] 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.002177/0.002177, allocations: 75.88 kB / 1.108 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8693/0.8715, allocations: 168.7 MB / 1.272 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.002165/0.8737, allocations: 0.5968 MB / 1.273 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003078/0.874, allocations: 71.7 kB / 1.273 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.008e-05/0.874, allocations: 7.938 kB / 1.273 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.874, allocations: 0 / 1.273 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.424e-06/0.874, allocations: 0 / 1.273 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.8743, allocations: 23.91 kB / 1.273 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.598e-05/0.8743, allocations: 11.98 kB / 1.273 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.8744, allocations: 4 kB / 1.273 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.83e-05/0.8744, allocations: 4 kB / 1.273 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.808e-05/0.8745, allocations: 11.92 kB / 1.273 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.8745, allocations: 0 / 1.273 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.124e-05/0.8746, allocations: 15.98 kB / 1.273 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.8746, allocations: 7.984 kB / 1.273 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.8746, allocations: 4 kB / 1.273 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001038/0.8747, allocations: 21.73 kB / 1.273 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.8747, allocations: 0 / 1.273 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.193e-06/0.8747, allocations: 0 / 1.273 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.8747, allocations: 0 / 1.273 GB, free: 3.609 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.0004926/0.8752, allocations: 327.5 kB / 1.274 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001413/0.8753, allocations: 12.03 kB / 1.274 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.835e-05/0.8754, allocations: 38.73 kB / 1.274 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.97e-05/0.8754, allocations: 4.938 kB / 1.274 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.8756, allocations: 160.4 kB / 1.274 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.8756, allocations: 8.312 kB / 1.274 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.8756, allocations: 384 / 1.274 GB, free: 2.973 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.8758, allocations: 66.55 kB / 1.274 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.8758, allocations: 3.938 kB / 1.274 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.8758, allocations: 0 / 1.274 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.8758, allocations: 15.98 kB / 1.274 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.452e-05/0.8759, allocations: 11.94 kB / 1.274 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002609/0.8761, allocations: 189.1 kB / 1.274 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.8763, allocations: 97.08 kB / 1.274 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/0.8763, allocations: 36.28 kB / 1.274 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002457/0.8766, allocations: 89.05 kB / 1.274 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.8766, allocations: 34.56 kB / 1.274 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.8766, allocations: 0 / 1.274 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002558/0.8769, allocations: 77.48 kB / 1.274 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/0.877, allocations: 162.8 kB / 1.274 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.543e-05/0.8771, allocations: 93.8 kB / 1.275 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.8771, allocations: 29.7 kB / 1.275 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.864e-05/0.8772, allocations: 80.14 kB / 1.275 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.092e-05/0.8773, allocations: 27.83 kB / 1.275 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.8773, allocations: 13.72 kB / 1.275 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.8775, allocations: 314.8 kB / 1.275 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.422e-05/0.8775, allocations: 7.984 kB / 1.275 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.801e-05/0.8776, allocations: 36.3 kB / 1.275 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.627e-05/0.8777, allocations: 48.22 kB / 1.275 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.8777, allocations: 0 / 1.275 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001259/0.8778, allocations: 65.56 kB / 1.275 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.8778, allocations: 8 kB / 1.275 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.8778, allocations: 3.938 kB / 1.275 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.8778, allocations: 0 / 1.275 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.659e-05/0.8779, allocations: 11.98 kB / 1.275 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.8779, allocations: 4 kB / 1.275 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.254e-05/0.878, allocations: 0 / 1.275 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.878, allocations: 4 kB / 1.275 GB, free: 1.188 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.0001067/0.8781, allocations: 121.9 kB / 1.275 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.641e-05/0.8781, allocations: 0 / 1.275 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.8783, allocations: 108.6 kB / 1.275 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.8783, allocations: 4 kB / 1.275 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.8784, allocations: 8.156 kB / 1.275 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.8784, allocations: 4 kB / 1.275 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.8785, allocations: 157.7 kB / 1.276 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.8786, allocations: 3.984 kB / 1.276 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.8e-05/0.8786, allocations: 19.92 kB / 1.276 GB, free: 0.707 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.8786, allocations: 4 kB / 1.276 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.8786, allocations: 7.938 kB / 1.276 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.8786, allocations: 4 kB / 1.276 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.8786, allocations: 0 / 1.276 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.8788, allocations: 124.4 kB / 1.276 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.535e-05/0.8789, allocations: 85.06 kB / 1.276 GB, free: 448 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.8789, allocations: 7.938 kB / 1.276 GB, free: 440 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.15e-05/0.8789, allocations: 4 kB / 1.276 GB, free: 436 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.879, allocations: 11.98 kB / 1.276 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.879, allocations: 7.938 kB / 1.276 GB, free: 416 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.414e-05/0.879, allocations: 79.28 kB / 1.276 GB, free: 336 kB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.879, allocations: 0 / 1.276 GB, free: 336 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002247/0.8792, allocations: 4 kB / 1.276 GB, free: 332 kB / 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.0008131/0.8801, allocations: 0.6708 MB / 1.277 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.8802, allocations: 35.92 kB / 1.277 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.8802, allocations: 0 / 1.277 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.235e-05/0.8803, allocations: 28.3 kB / 1.277 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.8804, allocations: 8 kB / 1.277 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/0.881, allocations: 193.9 kB / 1.277 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.8814, allocations: 0.6845 MB / 1.277 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.257e-05/0.8814, allocations: 12.25 kB / 1.278 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.8815, allocations: 11.44 kB / 1.278 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8815, allocations: 0 / 1.278 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.9094, allocations: 1.417 MB / 1.279 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.93, allocations: 0.5 kB / 1.279 GB, free: 13.23 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.325193186989054]