Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.002179/0.002179, allocations: 110.9 kB / 16.46 MB, free: 6.035 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.002476/0.002476, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.463/1.463, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.624/2.624, allocations: 443.5 MB / 0.7287 GB, free: 13.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.89 kB / 1.056 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9045/0.9065, allocations: 160.7 MB / 1.213 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001977/0.9084, allocations: 0.6012 MB / 1.214 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003335/0.9088, allocations: 75.3 kB / 1.214 GB, free: 3.285 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.425e-05/0.9088, allocations: 0.9688 kB / 1.214 GB, free: 3.285 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.398e-05/0.9088, allocations: 0 / 1.214 GB, free: 3.285 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.895e-06/0.9088, allocations: 0 / 1.214 GB, free: 3.285 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.9091, allocations: 23.61 kB / 1.214 GB, free: 3.27 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.087e-05/0.9092, allocations: 10.75 kB / 1.214 GB, free: 3.266 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.301e-05/0.9092, allocations: 1.062 kB / 1.214 GB, free: 3.266 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.471e-05/0.9093, allocations: 11.27 kB / 1.214 GB, free: 3.258 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.098e-05/0.9093, allocations: 12.3 kB / 1.214 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.9093, allocations: 0 / 1.214 GB, free: 3.25 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.627e-05/0.9094, allocations: 15.7 kB / 1.214 GB, free: 3.242 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.181e-05/0.9094, allocations: 0.6875 kB / 1.214 GB, free: 3.242 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.9095, allocations: 6.156 kB / 1.214 GB, free: 3.238 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.9096, allocations: 24.03 kB / 1.214 GB, free: 3.223 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.9096, allocations: 1.094 kB / 1.214 GB, free: 3.223 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9096, allocations: 0 / 1.214 GB, free: 3.223 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.9096, allocations: 4 kB / 1.214 GB, free: 3.219 MB / 0.92 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.0004846/0.9101, allocations: 328.1 kB / 1.214 GB, free: 2.855 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.9101, allocations: 10.28 kB / 1.214 GB, free: 2.855 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.293e-05/0.9102, allocations: 31.84 kB / 1.214 GB, free: 2.816 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.9102, allocations: 2.312 kB / 1.214 GB, free: 2.816 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.9103, allocations: 164.4 kB / 1.214 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.075e-06/0.9104, allocations: 9.219 kB / 1.214 GB, free: 2.609 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.9104, allocations: 6.125 kB / 1.214 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.9105, allocations: 70.95 kB / 1.214 GB, free: 2.523 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.9105, allocations: 3.938 kB / 1.214 GB, free: 2.52 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.9106, allocations: 1.719 kB / 1.214 GB, free: 2.52 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.9106, allocations: 1.125 kB / 1.214 GB, free: 2.52 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.901e-05/0.9106, allocations: 22.39 kB / 1.214 GB, free: 2.504 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002439/0.9109, allocations: 185.6 kB / 1.215 GB, free: 2.266 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001316/0.911, allocations: 96.75 kB / 1.215 GB, free: 2.133 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.146e-05/0.911, allocations: 37.61 kB / 1.215 GB, free: 2.086 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002004/0.9112, allocations: 87.59 kB / 1.215 GB, free: 1.984 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.9113, allocations: 37.84 kB / 1.215 GB, free: 1.941 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.9113, allocations: 0 / 1.215 GB, free: 1.941 MB / 0.92 GB Notification: Performance of matching and sorting (n=5): time 0.0002334/0.9115, allocations: 76.73 kB / 1.215 GB, free: 1.883 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.9116, allocations: 160.4 kB / 1.215 GB, free: 1.691 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.119e-05/0.9117, allocations: 89.86 kB / 1.215 GB, free: 1.594 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.9117, allocations: 30.55 kB / 1.215 GB, free: 1.559 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/0.9118, allocations: 80.14 kB / 1.215 GB, free: 1.477 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.9118, allocations: 18.66 kB / 1.215 GB, free: 1.461 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.9119, allocations: 26.8 kB / 1.215 GB, free: 1.434 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.912, allocations: 312 kB / 1.216 GB, free: 1.121 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/0.912, allocations: 2.25 kB / 1.216 GB, free: 1.121 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.842e-05/0.9121, allocations: 38.47 kB / 1.216 GB, free: 1.074 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.555e-05/0.9122, allocations: 48.14 kB / 1.216 GB, free: 1.023 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.9122, allocations: 0 / 1.216 GB, free: 1.023 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00012/0.9123, allocations: 66.03 kB / 1.216 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.9123, allocations: 5.438 kB / 1.216 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.9123, allocations: 9.266 kB / 1.216 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.9123, allocations: 6.188 kB / 1.216 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.415e-05/0.9124, allocations: 7.906 kB / 1.216 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.9124, allocations: 1.094 kB / 1.216 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.89e-05/0.9125, allocations: 2.188 kB / 1.216 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/0.9125, allocations: 6.25 kB / 1.216 GB, free: 0.957 MB / 0.92 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.0001091/0.9126, allocations: 116.4 kB / 1.216 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.9126, allocations: 6.891 kB / 1.216 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.9128, allocations: 109.2 kB / 1.216 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.9128, allocations: 2.281 kB / 1.216 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.9128, allocations: 6.094 kB / 1.216 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.9128, allocations: 1.312 kB / 1.216 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.913, allocations: 161.8 kB / 1.216 GB, free: 0.543 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.913, allocations: 1.094 kB / 1.216 GB, free: 0.543 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.147e-05/0.9131, allocations: 21.38 kB / 1.216 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.9131, allocations: 10.08 kB / 1.216 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.9131, allocations: 10.03 kB / 1.216 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.9131, allocations: 1.156 kB / 1.216 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.9131, allocations: 1.375 kB / 1.216 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.9133, allocations: 121.2 kB / 1.216 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.486e-05/0.9133, allocations: 88.33 kB / 1.216 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.9133, allocations: 6.125 kB / 1.216 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.165e-05/0.9134, allocations: 5.094 kB / 1.216 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.9134, allocations: 3.969 kB / 1.216 GB, free: 296 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.9134, allocations: 3.875 kB / 1.216 GB, free: 296 kB / 0.92 GB Notification: Performance of sorting global known variables: time 4.235e-05/0.9134, allocations: 75.28 kB / 1.216 GB, free: 220 kB / 0.92 GB Notification: Performance of sort global known variables: time 7e-08/0.9134, allocations: 5.094 kB / 1.216 GB, free: 216 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002153/0.9137, allocations: 12.95 kB / 1.216 GB, free: 208 kB / 0.92 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.0006302/0.9143, allocations: 0.6674 MB / 1.217 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001494/0.9144, allocations: 31.73 kB / 1.217 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.9144, allocations: 1.094 kB / 1.217 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.169e-05/0.9145, allocations: 21.94 kB / 1.217 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.9147, allocations: 6.281 kB / 1.217 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004886/0.9151, allocations: 184.9 kB / 1.217 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.9155, allocations: 0.6837 MB / 1.218 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.01e-05/0.9156, allocations: 9.344 kB / 1.218 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.9156, allocations: 18.58 kB / 1.218 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.9156, allocations: 1.062 kB / 1.218 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.9414, allocations: 1.433 MB / 1.219 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.094/9.035, allocations: 11.75 kB / 1.219 GB, free: 13.78 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.095015631988645]