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.001853/0.001853, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.002151/0.002151, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.631/1.631, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.157/3.157, allocations: 0.5003 GB / 0.8026 GB, free: 6.883 MB / 0.6387 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.002245/0.002245, allocations: 69.3 kB / 1.165 GB, free: 460 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113/1.116, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001854/1.118, allocations: 0.6091 MB / 1.341 GB, free: 15.91 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003008/1.118, allocations: 67.42 kB / 1.341 GB, free: 15.87 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.072e-05/1.118, allocations: 0 / 1.341 GB, free: 15.87 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/1.118, allocations: 0 / 1.341 GB, free: 15.87 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 1.026e-05/1.118, allocations: 1.031 kB / 1.341 GB, free: 15.87 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002805/1.118, allocations: 27.78 kB / 1.341 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.477e-05/1.118, allocations: 7.875 kB / 1.341 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.122e-05/1.118, allocations: 2.656 kB / 1.341 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.798e-05/1.118, allocations: 8.719 kB / 1.341 GB, free: 15.85 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.343e-05/1.118, allocations: 10.48 kB / 1.341 GB, free: 15.85 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/1.118, allocations: 0 / 1.341 GB, free: 15.85 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.927e-05/1.119, allocations: 21.91 kB / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/1.119, allocations: 2.641 kB / 1.341 GB, free: 15.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/1.119, allocations: 6.203 kB / 1.341 GB, free: 15.83 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.768e-05/1.119, allocations: 25.67 kB / 1.341 GB, free: 15.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.119, allocations: 1.906 kB / 1.341 GB, free: 15.82 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.593e-06/1.119, allocations: 0 / 1.341 GB, free: 15.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.372e-06/1.119, allocations: 0 / 1.341 GB, free: 15.82 MB / 1.061 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.0003269/1.119, allocations: 324.4 kB / 1.341 GB, free: 15.46 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.119, allocations: 10.34 kB / 1.341 GB, free: 15.46 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.858e-05/1.119, allocations: 8.734 kB / 1.341 GB, free: 15.46 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.211e-05/1.119, allocations: 32.94 kB / 1.341 GB, free: 15.42 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/1.119, allocations: 6.016 kB / 1.341 GB, free: 15.41 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.422e-05/1.119, allocations: 161.7 kB / 1.341 GB, free: 15.22 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/1.119, allocations: 10.47 kB / 1.341 GB, free: 15.21 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/1.119, allocations: 1.469 kB / 1.341 GB, free: 15.21 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/1.119, allocations: 79.75 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/1.119, allocations: 0.6094 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/1.119, allocations: 0.9375 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/1.119, allocations: 1.094 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.912e-05/1.119, allocations: 12.78 kB / 1.342 GB, free: 15.12 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/1.12, allocations: 185.5 kB / 1.342 GB, free: 14.89 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.839e-05/1.12, allocations: 99.11 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.763e-05/1.12, allocations: 34.23 kB / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/1.12, allocations: 86.7 kB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/1.12, allocations: 45.62 kB / 1.342 GB, free: 14.56 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/1.12, allocations: 0 / 1.342 GB, free: 14.56 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.0002121/1.12, allocations: 67.75 kB / 1.342 GB, free: 14.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/1.12, allocations: 164.7 kB / 1.342 GB, free: 14.32 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.359e-05/1.12, allocations: 94.52 kB / 1.342 GB, free: 14.22 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/1.12, allocations: 26.89 kB / 1.342 GB, free: 14.19 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 1.277e-05/1.12, allocations: 80.14 kB / 1.342 GB, free: 14.11 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/1.12, allocations: 15.33 kB / 1.342 GB, free: 14.1 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/1.12, allocations: 20.36 kB / 1.342 GB, free: 14.08 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.199e-05/1.12, allocations: 313.2 kB / 1.343 GB, free: 13.77 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.304e-05/1.12, allocations: 16.75 kB / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.748e-05/1.12, allocations: 31.16 kB / 1.343 GB, free: 13.71 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.337e-05/1.12, allocations: 54.03 kB / 1.343 GB, free: 13.66 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/1.12, allocations: 0 / 1.343 GB, free: 13.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001029/1.121, allocations: 63.64 kB / 1.343 GB, free: 13.62 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/1.121, allocations: 9.594 kB / 1.343 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.121, allocations: 1.219 kB / 1.343 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/1.121, allocations: 1.797 kB / 1.343 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.178e-05/1.121, allocations: 10.25 kB / 1.343 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/1.121, allocations: 1.953 kB / 1.343 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.084e-05/1.121, allocations: 6.875 kB / 1.343 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/1.121, allocations: 7.562 kB / 1.343 GB, free: 13.61 MB / 1.061 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 5.84e-05/1.121, allocations: 113.1 kB / 1.343 GB, free: 13.49 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/1.121, allocations: 9.688 kB / 1.343 GB, free: 13.48 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/1.121, allocations: 109.6 kB / 1.343 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/1.121, allocations: 5.375 kB / 1.343 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/1.121, allocations: 1.312 kB / 1.343 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/1.121, allocations: 2.641 kB / 1.343 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/1.121, allocations: 167.6 kB / 1.343 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/1.121, allocations: 0.5156 kB / 1.343 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.194e-05/1.121, allocations: 15.67 kB / 1.343 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/1.121, allocations: 5.156 kB / 1.343 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/1.121, allocations: 2.828 kB / 1.343 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.121, allocations: 6.953 kB / 1.343 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.121, allocations: 1.062 kB / 1.343 GB, free: 13.2 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/1.121, allocations: 123.4 kB / 1.343 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.195e-05/1.121, allocations: 84.81 kB / 1.344 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/1.121, allocations: 10.83 kB / 1.344 GB, free: 12.98 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.229e-05/1.121, allocations: 5.656 kB / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/1.121, allocations: 6.312 kB / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/1.121, allocations: 8.047 kB / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.795e-05/1.122, allocations: 77.25 kB / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.122, allocations: 1.094 kB / 1.344 GB, free: 12.89 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002082/1.122, allocations: 9.156 kB / 1.344 GB, free: 12.89 MB / 1.061 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.0004315/1.122, allocations: 0.663 MB / 1.344 GB, free: 12.24 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001455/1.122, allocations: 40.5 kB / 1.344 GB, free: 12.22 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.122, allocations: 0 / 1.344 GB, free: 12.22 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.154e-05/1.122, allocations: 24.81 kB / 1.344 GB, free: 12.21 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/1.122, allocations: 14.27 kB / 1.344 GB, free: 12.21 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/1.123, allocations: 185 kB / 1.345 GB, free: 12.01 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/1.123, allocations: 0.679 MB / 1.345 GB, free: 11.32 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.794e-05/1.123, allocations: 10.14 kB / 1.345 GB, free: 11.31 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/1.123, allocations: 17.61 kB / 1.345 GB, free: 11.3 MB / 1.061 GB Notification: Performance of SimCode: time 2.7e-07/1.123, allocations: 0 / 1.345 GB, free: 11.3 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/1.141, allocations: 1.472 MB / 1.347 GB, free: 10.9 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.251/9.392, allocations: 8.859 kB / 1.347 GB, free: 10.89 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.58672593801748]