Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00144/0.00144, allocations: 102.6 kB / 16.45 MB, free: 6.449 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.001488/0.001488, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.512/1.512, allocations: 230.6 MB / 252.8 MB, free: 9.109 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.363/3.363, allocations: 0.49 GB / 0.7916 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",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.002162/0.002162, allocations: 76.11 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3765, allocations: 176.1 MB / 1.321 GB, free: 3.293 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001734/0.3782, allocations: 0.5943 MB / 1.321 GB, free: 2.703 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002949/0.3785, allocations: 67.7 kB / 1.321 GB, free: 2.637 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.852e-05/0.3785, allocations: 4 kB / 1.321 GB, free: 2.633 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.839e-05/0.3786, allocations: 0 / 1.321 GB, free: 2.633 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.765e-06/0.3786, allocations: 0 / 1.321 GB, free: 2.633 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.3788, allocations: 27.91 kB / 1.322 GB, free: 2.605 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 5.588e-05/0.3789, allocations: 12 kB / 1.322 GB, free: 2.594 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.442e-05/0.379, allocations: 4.391 kB / 1.322 GB, free: 2.59 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.022e-05/0.379, allocations: 7.938 kB / 1.322 GB, free: 2.582 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.532e-05/0.379, allocations: 7.984 kB / 1.322 GB, free: 2.574 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.379, allocations: 0 / 1.322 GB, free: 2.574 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.472e-05/0.3791, allocations: 15.98 kB / 1.322 GB, free: 2.559 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.3791, allocations: 8 kB / 1.322 GB, free: 2.551 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.3792, allocations: 11.92 kB / 1.322 GB, free: 2.539 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.515e-05/0.3793, allocations: 16.19 kB / 1.322 GB, free: 2.523 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3793, allocations: 0 / 1.322 GB, free: 2.523 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3793, allocations: 0 / 1.322 GB, free: 2.523 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.3793, allocations: 0 / 1.322 GB, free: 2.523 MB / 1.014 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.0004308/0.3797, allocations: 327.5 kB / 1.322 GB, free: 2.152 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.3797, allocations: 11.98 kB / 1.322 GB, free: 2.141 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.563e-05/0.3798, allocations: 38.73 kB / 1.322 GB, free: 2.094 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.755e-05/0.3798, allocations: 4.891 kB / 1.322 GB, free: 2.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.3799, allocations: 172.3 kB / 1.322 GB, free: 1.883 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.38, allocations: 8.25 kB / 1.322 GB, free: 1.875 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.846e-06/0.38, allocations: 384 / 1.322 GB, free: 1.875 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.3801, allocations: 66.55 kB / 1.322 GB, free: 1.789 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3801, allocations: 7.875 kB / 1.322 GB, free: 1.781 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.3801, allocations: 8 kB / 1.322 GB, free: 1.773 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.3801, allocations: 4 kB / 1.322 GB, free: 1.77 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.056e-05/0.3802, allocations: 15.92 kB / 1.322 GB, free: 1.754 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.3804, allocations: 177.2 kB / 1.322 GB, free: 1.52 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.3805, allocations: 97.11 kB / 1.323 GB, free: 1.379 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.085e-05/0.3806, allocations: 36.28 kB / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002082/0.3808, allocations: 85.11 kB / 1.323 GB, free: 1.227 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.3808, allocations: 34.56 kB / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3808, allocations: 0 / 1.323 GB, free: 1.184 MB / 1.014 GB Notification: Performance of matching and sorting (n=5): time 0.0002145/0.381, allocations: 77.48 kB / 1.323 GB, free: 1.102 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.3811, allocations: 162.8 kB / 1.323 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.014e-05/0.3812, allocations: 89.86 kB / 1.323 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.3812, allocations: 29.7 kB / 1.323 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.935e-05/0.3812, allocations: 80.14 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.3813, allocations: 23.83 kB / 1.323 GB, free: 0.668 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.3813, allocations: 13.72 kB / 1.323 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.3815, allocations: 314.8 kB / 1.323 GB, free: 340 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.91e-05/0.3815, allocations: 4 kB / 1.323 GB, free: 336 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.361e-05/0.3815, allocations: 40.28 kB / 1.323 GB, free: 280 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.789e-05/0.3816, allocations: 44.23 kB / 1.323 GB, free: 220 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3816, allocations: 0 / 1.323 GB, free: 220 kB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001144/0.3817, allocations: 73.5 kB / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3817, allocations: 8 kB / 1.324 GB, free: 132 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.3817, allocations: 3.938 kB / 1.324 GB, free: 128 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3817, allocations: 4 kB / 1.324 GB, free: 124 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.103e-05/0.3818, allocations: 8 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.3818, allocations: 7.922 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.164e-05/0.3819, allocations: 4.125 kB / 1.324 GB, free: 104 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.3819, allocations: 8 kB / 1.324 GB, free: 96 kB / 1.014 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.0001032/0.382, allocations: 114 kB / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.382, allocations: 0 / 1.324 GB, free: 15.97 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.3822, allocations: 100.6 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.3822, allocations: 7.938 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.3822, allocations: 4.156 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.3822, allocations: 4 kB / 1.324 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.3824, allocations: 165.6 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3824, allocations: 0 / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.357e-05/0.3825, allocations: 27.92 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3825, allocations: 3.938 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.3825, allocations: 7.938 kB / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3825, allocations: 0 / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3825, allocations: 0 / 1.324 GB, free: 15.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.3827, allocations: 128.5 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-05/0.3827, allocations: 85.05 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/0.3828, allocations: 7.938 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.923e-05/0.3828, allocations: 0 / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.222e-05/0.3828, allocations: 11.98 kB / 1.324 GB, free: 15.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.3828, allocations: 12 kB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of sorting global known variables: time 3.527e-05/0.3829, allocations: 79.22 kB / 1.324 GB, free: 15.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3829, allocations: 0 / 1.324 GB, free: 15.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000218/0.3831, allocations: 8 kB / 1.324 GB, free: 15.23 MB / 1.029 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.0005313/0.3836, allocations: 0.6626 MB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.3837, allocations: 35.92 kB / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3837, allocations: 0 / 1.325 GB, free: 14.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.204e-05/0.3838, allocations: 28.42 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.3839, allocations: 4 kB / 1.325 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004105/0.3843, allocations: 189.8 kB / 1.325 GB, free: 14.21 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.3846, allocations: 0.6768 MB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.842e-05/0.3847, allocations: 12.11 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.801e-05/0.3847, allocations: 15.44 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3847, allocations: 0 / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.4104, allocations: 1.438 MB / 1.327 GB, free: 12.13 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.365, allocations: 15.88 kB / 1.327 GB, free: 12.12 MB / 1.029 GB " [Timeout remaining time 292] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round_res.csv --start-time -2 --stop-time 2 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_12_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.498759969836101]