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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.474/2.474, allocations: 476.7 MB / 0.7628 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001876/0.001876, allocations: 71.88 kB / 1.107 GB, free: 5.148 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7995/0.8014, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001474/0.8029, allocations: 0.6068 MB / 1.272 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000229/0.8031, allocations: 65.83 kB / 1.272 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.702e-05/0.8031, allocations: 0.875 kB / 1.272 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.411e-05/0.8031, allocations: 0 / 1.272 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.454e-06/0.8031, allocations: 3.938 kB / 1.272 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.8033, allocations: 19.23 kB / 1.272 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.448e-05/0.8034, allocations: 13.38 kB / 1.272 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.178e-05/0.8034, allocations: 2.234 kB / 1.272 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.91e-05/0.8034, allocations: 14.89 kB / 1.272 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.776e-05/0.8035, allocations: 9.609 kB / 1.272 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.228e-06/0.8035, allocations: 0.875 kB / 1.272 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.833e-05/0.8036, allocations: 14.89 kB / 1.272 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.8036, allocations: 10.12 kB / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.752e-05/0.8036, allocations: 2.344 kB / 1.272 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.159e-05/0.8037, allocations: 25.97 kB / 1.272 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.8037, allocations: 1.031 kB / 1.272 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8037, allocations: 0 / 1.272 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.8037, allocations: 0 / 1.272 GB, free: 7.266 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.0002642/0.8039, allocations: 324.9 kB / 1.273 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.804, allocations: 9.781 kB / 1.273 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.572e-05/0.804, allocations: 36.23 kB / 1.273 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.196e-05/0.804, allocations: 2.531 kB / 1.273 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.295e-05/0.8041, allocations: 161.7 kB / 1.273 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-06/0.8041, allocations: 6.094 kB / 1.273 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.8041, allocations: 2.031 kB / 1.273 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.8042, allocations: 72.45 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.8042, allocations: 7.938 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.8042, allocations: 4.906 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.8042, allocations: 1.375 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.508e-05/0.8043, allocations: 16.67 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001159/0.8044, allocations: 181.7 kB / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.084e-05/0.8044, allocations: 102.2 kB / 1.273 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.8045, allocations: 30.84 kB / 1.273 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.8046, allocations: 87.25 kB / 1.273 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.8046, allocations: 41.42 kB / 1.273 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.8046, allocations: 0 / 1.273 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5): time 0.0001695/0.8048, allocations: 74.84 kB / 1.273 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.8048, allocations: 156.9 kB / 1.273 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.252e-05/0.8048, allocations: 89.86 kB / 1.274 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.8048, allocations: 32.02 kB / 1.274 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.486e-06/0.8049, allocations: 84.14 kB / 1.274 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.8049, allocations: 23.89 kB / 1.274 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.8049, allocations: 15.52 kB / 1.274 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.614e-05/0.8049, allocations: 317.2 kB / 1.274 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/0.805, allocations: 8.5 kB / 1.274 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.247e-05/0.805, allocations: 35.5 kB / 1.274 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.41e-05/0.805, allocations: 50.23 kB / 1.274 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.805, allocations: 0 / 1.274 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.838e-05/0.8051, allocations: 62.84 kB / 1.274 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.8051, allocations: 9.625 kB / 1.274 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.8051, allocations: 9.938 kB / 1.274 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.8052, allocations: 2.219 kB / 1.274 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.969e-05/0.8052, allocations: 9.531 kB / 1.274 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.8052, allocations: 2.734 kB / 1.274 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.625e-05/0.8053, allocations: 0.9062 kB / 1.274 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.8053, allocations: 8.312 kB / 1.274 GB, free: 5.055 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 3.897e-05/0.8053, allocations: 109.3 kB / 1.274 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.358e-05/0.8053, allocations: 1.797 kB / 1.274 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.8055, allocations: 121.5 kB / 1.274 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.8055, allocations: 1.562 kB / 1.274 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.8055, allocations: 1.656 kB / 1.274 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.8055, allocations: 2.906 kB / 1.274 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.212e-05/0.8056, allocations: 162.8 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.8056, allocations: 5.422 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.978e-05/0.8057, allocations: 19.03 kB / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.8057, allocations: 2.469 kB / 1.275 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.8057, allocations: 6.266 kB / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.8057, allocations: 1.562 kB / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.8057, allocations: 2.297 kB / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.8058, allocations: 123.2 kB / 1.275 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.796e-05/0.8058, allocations: 89 kB / 1.275 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.8058, allocations: 6.328 kB / 1.275 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.716e-05/0.8058, allocations: 1.531 kB / 1.275 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.8059, allocations: 7.219 kB / 1.275 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.8059, allocations: 7.625 kB / 1.275 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.658e-06/0.8059, allocations: 83.22 kB / 1.275 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.8059, allocations: 0 / 1.275 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001942/0.8061, allocations: 6.797 kB / 1.275 GB, free: 4.344 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.0002716/0.8063, allocations: 0.664 MB / 1.276 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001031/0.8064, allocations: 47.84 kB / 1.276 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.8065, allocations: 0.8125 kB / 1.276 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.452e-05/0.8065, allocations: 21.73 kB / 1.276 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.8066, allocations: 14.86 kB / 1.276 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003202/0.8069, allocations: 181.8 kB / 1.276 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.455e-05/0.807, allocations: 0.68 MB / 1.276 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.472e-05/0.8071, allocations: 13.8 kB / 1.276 GB, free: 2.762 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.8071, allocations: 16.66 kB / 1.277 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/0.8071, allocations: 0 / 1.277 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.8305, allocations: 1.411 MB / 1.278 GB, free: 18.38 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.035/7.865, allocations: 1.375 kB / 1.278 GB, free: 18.38 MB / 1.014 GB " [Timeout remaining time 292] (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/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: 13.177613843996369]