Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008368/0.0008368, 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.000907/0.000907, allocations: 169.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.9326/0.9326, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.645/1.645, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Round",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.9506 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.554e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001492/0.001508, allocations: 0.5986 MB / 0.9511 GB, free: 2.844 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002629/0.001771, allocations: 51.8 kB / 0.9512 GB, free: 2.793 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.958e-05/0.00179, allocations: 4 kB / 0.9512 GB, free: 2.789 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.001809, allocations: 3.938 kB / 0.9512 GB, free: 2.785 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.806e-06/0.001818, allocations: 0 / 0.9512 GB, free: 2.785 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.002109, allocations: 31.84 kB / 0.9512 GB, free: 2.754 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.139e-05/0.00216, allocations: 4 kB / 0.9512 GB, free: 2.75 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.682e-05/0.002207, allocations: 7.984 kB / 0.9512 GB, free: 2.742 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.197e-05/0.002239, allocations: 11.98 kB / 0.9512 GB, free: 2.73 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.509e-05/0.002284, allocations: 7.938 kB / 0.9513 GB, free: 2.723 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.002297, allocations: 0 / 0.9513 GB, free: 2.723 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.143e-05/0.002369, allocations: 7.984 kB / 0.9513 GB, free: 2.715 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.531e-05/0.002384, allocations: 8 kB / 0.9513 GB, free: 2.707 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.002402, allocations: 7.969 kB / 0.9513 GB, free: 2.699 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.078e-05/0.002493, allocations: 19.91 kB / 0.9513 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.002495, allocations: 0 / 0.9513 GB, free: 2.68 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.02e-07/0.002496, allocations: 4 kB / 0.9513 GB, free: 2.676 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.0025, allocations: 0 / 0.9513 GB, free: 2.676 MB / 0.9011 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.0003466/0.002847, allocations: 254.4 kB / 0.9515 GB, free: 2.395 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.002886, allocations: 8.031 kB / 0.9516 GB, free: 2.387 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.511e-05/0.002921, allocations: 42.67 kB / 0.9516 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.002949, allocations: 4.938 kB / 0.9516 GB, free: 2.332 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.808e-05/0.003017, allocations: 105.7 kB / 0.9517 GB, free: 2.203 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.003028, allocations: 384 / 0.9517 GB, free: 2.203 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.003039, allocations: 8.359 kB / 0.9517 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.00316, allocations: 74.48 kB / 0.9518 GB, free: 2.102 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.003169, allocations: 4.188 kB / 0.9518 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.003178, allocations: 384 / 0.9518 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.003185, allocations: 8.125 kB / 0.9518 GB, free: 2.09 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.506e-05/0.00322, allocations: 11.92 kB / 0.9518 GB, free: 2.078 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.003384, allocations: 148.3 kB / 0.9519 GB, free: 1.879 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 9.627e-05/0.00348, allocations: 97 kB / 0.952 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.15e-05/0.003521, allocations: 36.42 kB / 0.9521 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001609/0.003682, allocations: 7.984 kB / 0.9521 GB, free: 1.68 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.003715, allocations: 46.5 kB / 0.9521 GB, free: 1.625 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=5): time 1.392e-06/0.003716, allocations: 4 kB / 0.9521 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of matching and sorting (n=5): time 0.0002227/0.003939, allocations: 69.55 kB / 0.9522 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/0.004009, allocations: 158.2 kB / 0.9523 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.491e-05/0.004044, allocations: 93.86 kB / 0.9524 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.004059, allocations: 29.7 kB / 0.9525 GB, free: 1.219 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.52e-05/0.004084, allocations: 80.14 kB / 0.9525 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.004123, allocations: 12.47 kB / 0.9525 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.004161, allocations: 26.27 kB / 0.9526 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.004259, allocations: 318.8 kB / 0.9529 GB, free: 0.7734 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.004282, allocations: 8 kB / 0.9529 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.619e-05/0.004318, allocations: 36.28 kB / 0.9529 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.399e-05/0.004392, allocations: 48.23 kB / 0.953 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.004395, allocations: 0 / 0.953 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001122/0.004507, allocations: 65.69 kB / 0.953 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.004523, allocations: 8 kB / 0.953 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.004529, allocations: 0 / 0.953 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.004549, allocations: 7.984 kB / 0.953 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.984e-05/0.004628, allocations: 8 kB / 0.9531 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.004637, allocations: 3.938 kB / 0.9531 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.763e-05/0.004664, allocations: 4 kB / 0.9531 GB, free: 0.5508 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.004673, allocations: 0 / 0.9531 GB, free: 0.5508 MB / 0.9011 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 7.999e-05/0.004753, allocations: 121.8 kB / 0.9532 GB, free: 432 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.004768, allocations: 0 / 0.9532 GB, free: 432 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002065/0.004975, allocations: 104.5 kB / 0.9533 GB, free: 324 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.00498, allocations: 3.984 kB / 0.9533 GB, free: 320 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.004991, allocations: 8.062 kB / 0.9533 GB, free: 312 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.004997, allocations: 4 kB / 0.9533 GB, free: 308 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.005135, allocations: 132.7 kB / 0.9534 GB, free: 132 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.005139, allocations: 4 kB / 0.9534 GB, free: 128 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.539e-05/0.005204, allocations: 24.08 kB / 0.9534 GB, free: 104 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.005207, allocations: 0 / 0.9534 GB, free: 104 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.005218, allocations: 8 kB / 0.9535 GB, free: 96 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.005221, allocations: 0 / 0.9535 GB, free: 96 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.005226, allocations: 7.938 kB / 0.9535 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.005378, allocations: 116.6 kB / 0.9536 GB, free: 15.94 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.141e-05/0.005389, allocations: 7.953 kB / 0.9536 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.005403, allocations: 4 kB / 0.9536 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.626e-05/0.005429, allocations: 0 / 0.9536 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.005454, allocations: 15.86 kB / 0.9536 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.005462, allocations: 12 kB / 0.9536 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.752e-05/0.00549, allocations: 75.28 kB / 0.9537 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1e-07/0.00549, allocations: 0 / 0.9537 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002729/0.005763, allocations: 11.94 kB / 0.9537 GB, free: 15.81 MB / 0.9167 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.0004416/0.006204, allocations: 0.6548 MB / 0.9543 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.006328, allocations: 35.86 kB / 0.9544 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.006331, allocations: 3.938 kB / 0.9544 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.414e-05/0.006365, allocations: 32.23 kB / 0.9544 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.006545, allocations: 6.344 kB / 0.9544 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/0.007066, allocations: 173.9 kB / 0.9546 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.893e-05/0.007114, allocations: 63.34 kB / 0.9546 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.827e-05/0.007153, allocations: 8.312 kB / 0.9546 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.007192, allocations: 16.5 kB / 0.9547 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of SimCode: time 7.41e-07/0.007193, allocations: 0 / 0.9547 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01332/0.02051, allocations: 2.073 MB / 0.9567 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.793/6.814, allocations: 4 kB / 0.9567 GB, free: 12.77 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Utilities_Math_Functions_Examples_Round.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.825513243675232]