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.001309/0.001309, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002376/0.002376, allocations: 221.6 kB / 23.05 MB, free: 5.074 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.531/1.531, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.591/3.591, allocations: 0.5003 GB / 0.8061 GB, free: 26.94 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="cs",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.001999/0.001999, allocations: 64.52 kB / 1.171 GB, free: 19.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3991, allocations: 179 MB / 1.345 GB, free: 448 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.002029/0.4011, allocations: 0.5991 MB / 1.346 GB, free: 15.84 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002967/0.4014, allocations: 72.17 kB / 1.346 GB, free: 15.77 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.4014, allocations: 0 / 1.346 GB, free: 15.77 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.4015, allocations: 3.938 kB / 1.346 GB, free: 15.76 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.716e-06/0.4015, allocations: 0 / 1.346 GB, free: 15.76 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.4018, allocations: 27.97 kB / 1.346 GB, free: 15.73 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.123e-05/0.4018, allocations: 4 kB / 1.346 GB, free: 15.73 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.824e-05/0.4019, allocations: 4 kB / 1.346 GB, free: 15.73 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.398e-05/0.4019, allocations: 11.92 kB / 1.346 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.564e-05/0.402, allocations: 11.92 kB / 1.346 GB, free: 15.7 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.402, allocations: 4 kB / 1.346 GB, free: 15.7 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-05/0.4021, allocations: 11.98 kB / 1.346 GB, free: 15.69 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.4021, allocations: 8 kB / 1.346 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.09e-05/0.4021, allocations: 3.938 kB / 1.346 GB, free: 15.68 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.4022, allocations: 28.17 kB / 1.346 GB, free: 15.65 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.4022, allocations: 0 / 1.346 GB, free: 15.65 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4022, allocations: 0 / 1.346 GB, free: 15.65 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.804e-06/0.4022, allocations: 0 / 1.346 GB, free: 15.65 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.0004223/0.4026, allocations: 246.4 kB / 1.346 GB, free: 15.38 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.4027, allocations: 15.97 kB / 1.346 GB, free: 15.36 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.592e-05/0.4027, allocations: 4.188 kB / 1.346 GB, free: 15.36 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.268e-05/0.4027, allocations: 30.75 kB / 1.346 GB, free: 15.32 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.4028, allocations: 8.891 kB / 1.346 GB, free: 15.31 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.201e-05/0.4028, allocations: 106.5 kB / 1.347 GB, free: 15.18 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.4029, allocations: 4.359 kB / 1.347 GB, free: 15.18 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.4029, allocations: 8.375 kB / 1.347 GB, free: 15.17 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.403, allocations: 82.17 kB / 1.347 GB, free: 15.07 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.4031, allocations: 0 / 1.347 GB, free: 15.07 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.4031, allocations: 0 / 1.347 GB, free: 15.07 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.4031, allocations: 0 / 1.347 GB, free: 15.07 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.143e-05/0.4031, allocations: 15.92 kB / 1.347 GB, free: 15.05 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002102/0.4033, allocations: 152.2 kB / 1.347 GB, free: 14.85 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.4034, allocations: 93.12 kB / 1.347 GB, free: 14.71 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.542e-05/0.4035, allocations: 32.42 kB / 1.347 GB, free: 14.66 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/0.4036, allocations: 15.92 kB / 1.347 GB, free: 14.65 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.4037, allocations: 42.5 kB / 1.347 GB, free: 14.6 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 9.12e-07/0.4037, allocations: 0 / 1.347 GB, free: 14.6 MB / 1.045 GB Notification: Performance of matching and sorting (n=5): time 0.0002126/0.4039, allocations: 66.09 kB / 1.347 GB, free: 14.53 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.404, allocations: 166.2 kB / 1.347 GB, free: 14.33 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.692e-05/0.4041, allocations: 89.86 kB / 1.347 GB, free: 14.23 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.4041, allocations: 33.7 kB / 1.347 GB, free: 14.19 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.492e-05/0.4041, allocations: 80.14 kB / 1.347 GB, free: 14.11 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.239e-05/0.4042, allocations: 19.78 kB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.4042, allocations: 17.72 kB / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.4044, allocations: 318.8 kB / 1.348 GB, free: 13.75 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.4045, allocations: 8 kB / 1.348 GB, free: 13.74 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.415e-05/0.4045, allocations: 36.3 kB / 1.348 GB, free: 13.69 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.116e-05/0.4046, allocations: 56.22 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.4046, allocations: 0 / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001115/0.4047, allocations: 61.56 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.4047, allocations: 7.938 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.4047, allocations: 4 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.4047, allocations: 0 / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.89e-05/0.4048, allocations: 11.98 kB / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.4048, allocations: 0 / 1.348 GB, free: 13.53 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.781e-05/0.4048, allocations: 8.156 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.4049, allocations: 4 kB / 1.348 GB, free: 13.52 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 9.867e-05/0.405, allocations: 113.8 kB / 1.348 GB, free: 13.39 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.405, allocations: 11.92 kB / 1.348 GB, free: 13.38 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.4052, allocations: 96.55 kB / 1.348 GB, free: 13.28 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.4052, allocations: 4 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4052, allocations: 3.938 kB / 1.348 GB, free: 13.27 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.4052, allocations: 7.922 kB / 1.348 GB, free: 13.26 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.4054, allocations: 136.7 kB / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4054, allocations: 0 / 1.348 GB, free: 13.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.834e-05/0.4054, allocations: 16.12 kB / 1.348 GB, free: 13.07 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.4054, allocations: 7.938 kB / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.4054, allocations: 0 / 1.348 GB, free: 13.06 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.474e-05/0.4055, allocations: 12.08 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4055, allocations: 4 kB / 1.348 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001538/0.4056, allocations: 116.5 kB / 1.348 GB, free: 12.9 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.4056, allocations: 11.89 kB / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.062e-05/0.4056, allocations: 15.92 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.8e-05/0.4057, allocations: 4 kB / 1.348 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/0.4057, allocations: 4 kB / 1.348 GB, free: 12.87 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.4057, allocations: 4 kB / 1.348 GB, free: 12.86 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.062e-05/0.4058, allocations: 75.28 kB / 1.349 GB, free: 12.79 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4058, allocations: 0 / 1.349 GB, free: 12.79 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002123/0.406, allocations: 11.98 kB / 1.349 GB, free: 12.78 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.0005433/0.4065, allocations: 0.6586 MB / 1.349 GB, free: 12.07 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.4066, allocations: 35.92 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4066, allocations: 0 / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.679e-05/0.4067, allocations: 23.94 kB / 1.349 GB, free: 12.02 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.4068, allocations: 11.77 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/0.4073, allocations: 186.4 kB / 1.349 GB, free: 11.77 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003473/0.4076, allocations: 0.6848 MB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.578e-05/0.4077, allocations: 4 kB / 1.35 GB, free: 11.06 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.725e-05/0.4077, allocations: 19.36 kB / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.4077, allocations: 0 / 1.35 GB, free: 11.04 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.4297, allocations: 1.6 MB / 1.352 GB, free: 9.586 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.55, allocations: 6.125 kB / 1.352 GB, free: 9.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.921627348987386]