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.001955/0.001955, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.00263/0.00263, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.56/1.56, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.866/2.866, allocations: 476.7 MB / 0.7678 GB, free: 9.348 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Round,fileNamePrefix="Buildings_11_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.002141/0.002141, allocations: 71.89 kB / 1.113 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9336/0.9358, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001964/0.9377, allocations: 0.6143 MB / 1.28 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002735/0.938, allocations: 66.48 kB / 1.28 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.794e-05/0.938, allocations: 0 / 1.28 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.778e-05/0.938, allocations: 5.031 kB / 1.28 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.254e-06/0.938, allocations: 0 / 1.28 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.9383, allocations: 23.91 kB / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.893e-05/0.9383, allocations: 11.42 kB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.253e-05/0.9384, allocations: 3.641 kB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.671e-05/0.9384, allocations: 3.922 kB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.101e-05/0.9384, allocations: 13.12 kB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.198e-06/0.9384, allocations: 1.094 kB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.416e-05/0.9385, allocations: 18.78 kB / 1.28 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.9385, allocations: 5.703 kB / 1.28 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.997e-05/0.9386, allocations: 7.344 kB / 1.28 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.39e-05/0.9386, allocations: 17.45 kB / 1.28 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.9386, allocations: 5.156 kB / 1.28 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9386, allocations: 0 / 1.28 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.9386, allocations: 0 / 1.28 GB, free: 11.26 MB / 0.9981 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.0004147/0.9391, allocations: 326.2 kB / 1.28 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.9391, allocations: 12.69 kB / 1.28 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.556e-05/0.9391, allocations: 1.344 kB / 1.28 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.109e-05/0.9391, allocations: 36.55 kB / 1.28 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.134e-05/0.9392, allocations: 2.031 kB / 1.28 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.9393, allocations: 162.7 kB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.9393, allocations: 5.5 kB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.9393, allocations: 1.531 kB / 1.28 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.9394, allocations: 79.45 kB / 1.28 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.9395, allocations: 1.219 kB / 1.28 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.9395, allocations: 4.5 kB / 1.28 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.9395, allocations: 1.062 kB / 1.28 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.676e-05/0.9395, allocations: 17.56 kB / 1.28 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002062/0.9397, allocations: 187.9 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.9398, allocations: 99 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.713e-05/0.9399, allocations: 35.56 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001702/0.94, allocations: 81.66 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.9401, allocations: 45.95 kB / 1.281 GB, free: 10 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.9401, allocations: 0 / 1.281 GB, free: 10 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0001966/0.9403, allocations: 71.62 kB / 1.281 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.227e-05/0.9404, allocations: 160.8 kB / 1.281 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.441e-05/0.9404, allocations: 91.19 kB / 1.281 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.9404, allocations: 26.77 kB / 1.281 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.385e-05/0.9405, allocations: 84.14 kB / 1.281 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.9405, allocations: 15.38 kB / 1.281 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.857e-05/0.9405, allocations: 20.22 kB / 1.281 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.9407, allocations: 312.7 kB / 1.282 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.174e-05/0.9407, allocations: 4.625 kB / 1.282 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.081e-05/0.9407, allocations: 35.77 kB / 1.282 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.518e-05/0.9408, allocations: 54.25 kB / 1.282 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.9408, allocations: 0 / 1.282 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001118/0.9409, allocations: 67.97 kB / 1.282 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.9409, allocations: 9.312 kB / 1.282 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.9409, allocations: 5.047 kB / 1.282 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.941, allocations: 2.219 kB / 1.282 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.194e-05/0.941, allocations: 9.719 kB / 1.282 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.941, allocations: 1.75 kB / 1.282 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.082e-05/0.9411, allocations: 9.703 kB / 1.282 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.9411, allocations: 3.484 kB / 1.282 GB, free: 9.047 MB / 0.9981 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.027e-05/0.9412, allocations: 113.7 kB / 1.282 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.9412, allocations: 10.86 kB / 1.282 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.9414, allocations: 100.4 kB / 1.282 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.9414, allocations: 2.156 kB / 1.282 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.9414, allocations: 6.094 kB / 1.282 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.9414, allocations: 6.047 kB / 1.282 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001549/0.9416, allocations: 166.9 kB / 1.282 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.9416, allocations: 5.938 kB / 1.282 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-05/0.9416, allocations: 14.84 kB / 1.282 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.9416, allocations: 6.219 kB / 1.282 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.9416, allocations: 2.719 kB / 1.282 GB, free: 8.641 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.9416, allocations: 9.062 kB / 1.282 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.9416, allocations: 3.078 kB / 1.282 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.9418, allocations: 126.8 kB / 1.282 GB, free: 8.512 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.9419, allocations: 84.47 kB / 1.282 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.9419, allocations: 6.828 kB / 1.282 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.061e-05/0.9419, allocations: 1.891 kB / 1.282 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.9419, allocations: 10.3 kB / 1.282 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.9419, allocations: 8.078 kB / 1.282 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.224e-05/0.942, allocations: 75.28 kB / 1.282 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.942, allocations: 1.281 kB / 1.282 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002057/0.9422, allocations: 5.281 kB / 1.282 GB, free: 8.328 MB / 0.9981 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.0005163/0.9427, allocations: 0.6716 MB / 1.283 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.9428, allocations: 40.28 kB / 1.283 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.9428, allocations: 0 / 1.283 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.829e-05/0.9429, allocations: 21.62 kB / 1.283 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001513/0.943, allocations: 13.11 kB / 1.283 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.9434, allocations: 175.8 kB / 1.283 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.9437, allocations: 0.6796 MB / 1.284 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.742e-05/0.9438, allocations: 14.92 kB / 1.284 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.9438, allocations: 19.83 kB / 1.284 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/0.9438, allocations: 0 / 1.284 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02039/0.9642, allocations: 1.467 MB / 1.286 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.717/9.681, allocations: 11.62 kB / 1.286 GB, free: 6.328 MB / 0.9981 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.Round_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_Round_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Round.csv","/var/lib/jenkins1/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: 16.08820293698227]