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.0008233/0.0008233, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000863/0.000863, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8806/0.8806, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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 1.766/1.766, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197e-05/1.322e-05, allocations: 8.812 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001047/0.00106, allocations: 0.5954 MB / 1 GB, free: 12.84 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002021/0.001262, allocations: 59.72 kB / 1 GB, free: 12.78 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.545e-05/0.001278, allocations: 4 kB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.42e-05/0.001292, allocations: 0 / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.013e-06/0.001299, allocations: 4 kB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.001517, allocations: 23.86 kB / 1 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.648e-05/0.001564, allocations: 15.91 kB / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.001603, allocations: 8 kB / 1 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.685e-05/0.001629, allocations: 4 kB / 1 GB, free: 12.72 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.026e-05/0.00167, allocations: 7.984 kB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.001681, allocations: 0 / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.908e-05/0.00174, allocations: 4 kB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.001757, allocations: 15.97 kB / 1 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.387e-05/0.001771, allocations: 0 / 1 GB, free: 12.69 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 7.41e-05/0.001845, allocations: 23.91 kB / 1 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.001847, allocations: 0 / 1 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.81e-07/0.001847, allocations: 0 / 1 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.001851, allocations: 0 / 1 GB, free: 12.67 MB / 0.9636 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.0002579/0.002108, allocations: 258.4 kB / 1.001 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.002144, allocations: 8.75 kB / 1.001 GB, free: 12.38 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.079e-05/0.002174, allocations: 34.75 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.039e-05/0.002195, allocations: 4.938 kB / 1.001 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.993e-05/0.002245, allocations: 105.7 kB / 1.001 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.002254, allocations: 384 / 1.001 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.002261, allocations: 8.375 kB / 1.001 GB, free: 12.19 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.002369, allocations: 74.53 kB / 1.001 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.002378, allocations: 4.125 kB / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.365e-06/0.002386, allocations: 4.375 kB / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.002392, allocations: 8.125 kB / 1.001 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.612e-05/0.002418, allocations: 7.938 kB / 1.001 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/0.002538, allocations: 152.2 kB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.609e-05/0.002604, allocations: 89.08 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/0.002636, allocations: 45.12 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.002754, allocations: 11.98 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.002776, allocations: 42.56 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 9.21e-07/0.002777, allocations: 0 / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5): time 0.0001527/0.00293, allocations: 73.5 kB / 1.001 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.736e-05/0.002987, allocations: 166.1 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.614e-05/0.003013, allocations: 89.86 kB / 1.002 GB, free: 11.24 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.003023, allocations: 29.7 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.311e-05/0.003046, allocations: 80.77 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.003074, allocations: 7.906 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.003099, allocations: 25.7 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.647e-05/0.003176, allocations: 318.8 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.33e-05/0.003189, allocations: 7.938 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.342e-05/0.003213, allocations: 36.28 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.108e-05/0.003264, allocations: 48.23 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.003266, allocations: 0 / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.266e-05/0.003328, allocations: 69.55 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.003339, allocations: 8 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.003344, allocations: 0 / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.003355, allocations: 4 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.286e-05/0.003408, allocations: 8 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.003415, allocations: 11.86 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.78e-05/0.003433, allocations: 7.953 kB / 1.002 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.00344, allocations: 3.984 kB / 1.002 GB, free: 10.53 MB / 0.9636 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.205e-05/0.003492, allocations: 118 kB / 1.002 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.592e-06/0.003499, allocations: 0 / 1.002 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.00363, allocations: 104.6 kB / 1.002 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.003633, allocations: 4 kB / 1.002 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.00364, allocations: 7.938 kB / 1.002 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.003642, allocations: 0 / 1.002 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.578e-05/0.003728, allocations: 136.9 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.003731, allocations: 4 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-05/0.003759, allocations: 12 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.00376, allocations: 0 / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.003768, allocations: 8 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.00377, allocations: 3.938 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.003773, allocations: 11.92 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.85e-05/0.003862, allocations: 120.5 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-06/0.003866, allocations: 0 / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.018e-05/0.003876, allocations: 4 kB / 1.003 GB, free: 9.914 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.44e-05/0.003891, allocations: 4 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/0.003909, allocations: 15.92 kB / 1.003 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.003912, allocations: 4 kB / 1.003 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.894e-05/0.003931, allocations: 75.28 kB / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of sort global known variables: time 4e-08/0.003931, allocations: 0 / 1.003 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001432/0.004075, allocations: 8 kB / 1.003 GB, free: 9.809 MB / 0.9636 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.0002902/0.004365, allocations: 0.6703 MB / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.915e-05/0.004454, allocations: 43.86 kB / 1.004 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.004456, allocations: 0 / 1.004 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.209e-05/0.004478, allocations: 23.94 kB / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000109/0.004587, allocations: 3.797 kB / 1.004 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.004868, allocations: 174 kB / 1.004 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.696e-05/0.004905, allocations: 67.34 kB / 1.004 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.634e-05/0.004931, allocations: 12.56 kB / 1.004 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.00496, allocations: 20.48 kB / 1.004 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of SimCode: time 5.71e-07/0.00496, allocations: 0 / 1.004 GB, free: 8.691 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01349/0.01845, allocations: 2.054 MB / 1.006 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.937/6.956, allocations: 8.484 kB / 1.006 GB, free: 6.758 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Round_res.csv --start-time -2 --stop-time 2 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins/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: 11.03342811204493]