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.001604/0.001604, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002008/0.002008, allocations: 216.1 kB / 23.03 MB, free: 4.922 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.575/1.575, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.53/3.53, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 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.002057/0.002057, allocations: 65.69 kB / 1.171 GB, free: 19.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4229, allocations: 179 MB / 1.345 GB, free: 15.92 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001794/0.4247, allocations: 0.6031 MB / 1.346 GB, free: 15.32 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002861/0.425, allocations: 64.2 kB / 1.346 GB, free: 15.25 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.958e-05/0.425, allocations: 0 / 1.346 GB, free: 15.25 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.917e-05/0.425, allocations: 7.875 kB / 1.346 GB, free: 15.25 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.465e-06/0.4251, allocations: 3.938 kB / 1.346 GB, free: 15.24 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002665/0.4253, allocations: 19.98 kB / 1.346 GB, free: 15.22 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.378e-05/0.4254, allocations: 19.91 kB / 1.346 GB, free: 15.2 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.443e-05/0.4254, allocations: 4 kB / 1.346 GB, free: 15.2 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.699e-05/0.4255, allocations: 4 kB / 1.346 GB, free: 15.2 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.28e-05/0.4255, allocations: 7.984 kB / 1.346 GB, free: 15.19 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.4255, allocations: 3.938 kB / 1.346 GB, free: 15.18 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.556e-05/0.4256, allocations: 15.98 kB / 1.346 GB, free: 15.17 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.4256, allocations: 3.984 kB / 1.346 GB, free: 15.16 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.004e-05/0.4256, allocations: 4 kB / 1.346 GB, free: 15.16 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.4257, allocations: 20.14 kB / 1.346 GB, free: 15.14 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4258, allocations: 4 kB / 1.346 GB, free: 15.14 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4258, allocations: 0 / 1.346 GB, free: 15.14 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.4258, allocations: 0 / 1.346 GB, free: 15.14 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.0003803/0.4261, allocations: 258.3 kB / 1.346 GB, free: 14.85 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.4262, allocations: 8.031 kB / 1.346 GB, free: 14.84 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.577e-05/0.4262, allocations: 4.188 kB / 1.346 GB, free: 14.84 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.985e-05/0.4262, allocations: 30.75 kB / 1.346 GB, free: 14.8 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.4263, allocations: 0.9375 kB / 1.346 GB, free: 14.8 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.344e-05/0.4264, allocations: 102.5 kB / 1.346 GB, free: 14.68 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.4264, allocations: 8.375 kB / 1.346 GB, free: 14.67 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.4264, allocations: 4.375 kB / 1.346 GB, free: 14.66 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.4265, allocations: 78.23 kB / 1.347 GB, free: 14.57 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.4265, allocations: 3.984 kB / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.4266, allocations: 0 / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.4266, allocations: 0 / 1.347 GB, free: 14.56 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.897e-05/0.4266, allocations: 15.94 kB / 1.347 GB, free: 14.55 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002045/0.4268, allocations: 156.3 kB / 1.347 GB, free: 14.34 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.4269, allocations: 89.08 kB / 1.347 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.989e-05/0.427, allocations: 32.36 kB / 1.347 GB, free: 14.16 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/0.4271, allocations: 15.92 kB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.4272, allocations: 42.5 kB / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.4272, allocations: 0 / 1.347 GB, free: 14.09 MB / 1.045 GB Notification: Performance of matching and sorting (n=5): time 0.000215/0.4274, allocations: 69.55 kB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.243e-05/0.4275, allocations: 166.2 kB / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.064e-05/0.4275, allocations: 89.86 kB / 1.347 GB, free: 13.72 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.4275, allocations: 25.7 kB / 1.347 GB, free: 13.69 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.4276, allocations: 80.77 kB / 1.347 GB, free: 13.61 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.4276, allocations: 23.8 kB / 1.347 GB, free: 13.59 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.4277, allocations: 21.7 kB / 1.347 GB, free: 13.56 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4278, allocations: 310.8 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.066e-05/0.4278, allocations: 15.88 kB / 1.348 GB, free: 13.23 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.069e-05/0.4278, allocations: 36.28 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.272e-05/0.4279, allocations: 48.23 kB / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4279, allocations: 0 / 1.348 GB, free: 13.12 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001116/0.428, allocations: 69.55 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.428, allocations: 7.938 kB / 1.348 GB, free: 13.04 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4281, allocations: 4 kB / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.4281, allocations: 0 / 1.348 GB, free: 13.03 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.493e-05/0.4281, allocations: 8.125 kB / 1.348 GB, free: 13.02 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.4282, allocations: 4 kB / 1.348 GB, free: 13.02 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.924e-05/0.4282, allocations: 4 kB / 1.348 GB, free: 13.02 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.4282, allocations: 7.984 kB / 1.348 GB, free: 13.01 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 8.227e-05/0.4283, allocations: 117.9 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.687e-05/0.4283, allocations: 7.938 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.4285, allocations: 96.53 kB / 1.348 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4285, allocations: 4 kB / 1.348 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4285, allocations: 0 / 1.348 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4285, allocations: 4.156 kB / 1.348 GB, free: 12.76 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.4287, allocations: 136.7 kB / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4287, allocations: 0 / 1.348 GB, free: 12.59 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.75e-05/0.4287, allocations: 12 kB / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.4287, allocations: 7.938 kB / 1.348 GB, free: 12.57 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.4287, allocations: 4 kB / 1.348 GB, free: 12.56 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.4287, allocations: 7.938 kB / 1.348 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4287, allocations: 3.984 kB / 1.348 GB, free: 12.55 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.4289, allocations: 120.5 kB / 1.348 GB, free: 12.4 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.662e-05/0.4289, allocations: 11.89 kB / 1.348 GB, free: 12.39 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.4289, allocations: 7.938 kB / 1.348 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.01e-05/0.4289, allocations: 8 kB / 1.348 GB, free: 12.38 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.429, allocations: 7.984 kB / 1.348 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/0.429, allocations: 8 kB / 1.348 GB, free: 12.36 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.172e-05/0.429, allocations: 75.28 kB / 1.348 GB, free: 12.29 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.429, allocations: 0 / 1.348 GB, free: 12.29 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002104/0.4292, allocations: 8 kB / 1.348 GB, free: 12.28 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.0005398/0.4298, allocations: 0.6665 MB / 1.349 GB, free: 11.57 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.4299, allocations: 43.84 kB / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4299, allocations: 0 / 1.349 GB, free: 11.52 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.793e-05/0.4299, allocations: 23.94 kB / 1.349 GB, free: 11.5 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001579/0.4301, allocations: 8 kB / 1.349 GB, free: 11.49 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004539/0.4305, allocations: 185.8 kB / 1.349 GB, free: 11.26 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.225e-05/0.4306, allocations: 63.34 kB / 1.349 GB, free: 11.18 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.048e-05/0.4306, allocations: 12.62 kB / 1.349 GB, free: 11.16 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.334e-05/0.4307, allocations: 15.42 kB / 1.349 GB, free: 11.15 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.4307, allocations: 0 / 1.349 GB, free: 11.15 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02186/0.4525, allocations: 1.597 MB / 1.351 GB, free: 9.691 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.61, allocations: 20.8 kB / 1.351 GB, free: 9.676 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: 19.06964599492494]