Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.001782/0.001782, allocations: 108 kB / 16.45 MB, free: 6.512 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.00229/0.00229, allocations: 212.2 kB / 19.43 MB, free: 3.648 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.609/1.609, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.893/2.893, allocations: 476.7 MB / 0.7672 GB, free: 5.242 MB / 0.6231 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.TrapezoidalIntegration,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",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.002311/0.002311, allocations: 63.91 kB / 1.112 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8798/0.8821, allocations: 169.9 MB / 1.278 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002032/0.8842, allocations: 0.598 MB / 1.279 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002738/0.8844, allocations: 49.69 kB / 1.279 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.184e-05/0.8845, allocations: 0 / 1.279 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/0.8845, allocations: 0 / 1.279 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.93e-05/0.8845, allocations: 4 kB / 1.279 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002285/0.8848, allocations: 15.92 kB / 1.279 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.496e-05/0.8848, allocations: 0 / 1.279 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.8849, allocations: 8 kB / 1.279 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.395e-05/0.8849, allocations: 0 / 1.279 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.141e-05/0.885, allocations: 0 / 1.279 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.885, allocations: 4 kB / 1.279 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.85e-05/0.8851, allocations: 19.98 kB / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.171e-05/0.8851, allocations: 3.984 kB / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.872e-05/0.8851, allocations: 11.92 kB / 1.279 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.8852, allocations: 21.75 kB / 1.279 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.8852, allocations: 0 / 1.279 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8852, allocations: 0 / 1.279 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.8853, allocations: 0 / 1.279 GB, free: 12.65 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003839/0.8856, allocations: 357.2 kB / 1.279 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.273e-05/0.8857, allocations: 12.03 kB / 1.279 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.8857, allocations: 30.75 kB / 1.279 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.8858, allocations: 4.891 kB / 1.279 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.8859, allocations: 172.3 kB / 1.28 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.8859, allocations: 384 / 1.28 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.8859, allocations: 4.312 kB / 1.28 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.886, allocations: 54.25 kB / 1.28 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.886, allocations: 3.938 kB / 1.28 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.8861, allocations: 8 kB / 1.28 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/0.8861, allocations: 4 kB / 1.28 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.561e-05/0.8861, allocations: 31.91 kB / 1.28 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.8865, allocations: 264.8 kB / 1.28 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.201e-05/0.8866, allocations: 22.52 kB / 1.28 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.146e-05/0.8866, allocations: 4.859 kB / 1.28 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.072e-06/0.8866, allocations: 4 kB / 1.28 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.8866, allocations: 34.62 kB / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.8866, allocations: 0 / 1.28 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001813/0.8868, allocations: 67.39 kB / 1.28 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.8868, allocations: 81.05 kB / 1.28 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.8869, allocations: 117.8 kB / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.887, allocations: 25.7 kB / 1.28 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.058e-05/0.887, allocations: 103.9 kB / 1.28 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.513e-06/0.887, allocations: 8.125 kB / 1.28 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.8871, allocations: 21.72 kB / 1.28 GB, free: 11 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.8872, allocations: 322.8 kB / 1.281 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.577e-05/0.8873, allocations: 8 kB / 1.281 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-05/0.8873, allocations: 54.86 kB / 1.281 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.8874, allocations: 138.1 kB / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.8874, allocations: 0 / 1.281 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001731/0.8876, allocations: 119.1 kB / 1.281 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.8877, allocations: 37.69 kB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.8877, allocations: 0 / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.8877, allocations: 4 kB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.799e-05/0.8878, allocations: 16 kB / 1.281 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.8878, allocations: 4.25 kB / 1.281 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.071e-05/0.8878, allocations: 7.938 kB / 1.281 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.8879, allocations: 11.94 kB / 1.281 GB, free: 10.21 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001146/0.888, allocations: 147.5 kB / 1.281 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.888, allocations: 7.953 kB / 1.281 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.615e-05/0.888, allocations: 3.531 kB / 1.281 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.888, allocations: 0 / 1.281 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.888, allocations: 0 / 1.281 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.888, allocations: 0 / 1.281 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.8882, allocations: 157.6 kB / 1.281 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.8882, allocations: 3.984 kB / 1.281 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.355e-06/0.8882, allocations: 4 kB / 1.281 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.8882, allocations: 3.938 kB / 1.281 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.8882, allocations: 7.938 kB / 1.281 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.8882, allocations: 3.984 kB / 1.281 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8882, allocations: 0 / 1.281 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.8884, allocations: 165.2 kB / 1.282 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.682e-05/0.8884, allocations: 89.06 kB / 1.282 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.8884, allocations: 4 kB / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.86e-05/0.8885, allocations: 0 / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.649e-06/0.8885, allocations: 0 / 1.282 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.8885, allocations: 4 kB / 1.282 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.441e-05/0.8886, allocations: 91.2 kB / 1.282 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8886, allocations: 0 / 1.282 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002547/0.8888, allocations: 15.94 kB / 1.282 GB, free: 9.398 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0006023/0.8894, allocations: 0.7108 MB / 1.282 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001629/0.8896, allocations: 87.27 kB / 1.283 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.8896, allocations: 0 / 1.283 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.464e-05/0.8896, allocations: 55.94 kB / 1.283 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.8898, allocations: 16.05 kB / 1.283 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004774/0.8903, allocations: 142.5 kB / 1.283 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.8907, allocations: 0.6862 MB / 1.283 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.649e-05/0.8908, allocations: 7.984 kB / 1.283 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.8908, allocations: 15.42 kB / 1.283 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.8908, allocations: 0 / 1.283 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02473/0.9155, allocations: 1.454 MB / 1.285 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.887, allocations: 5 kB / 1.285 GB, free: 6.246 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.38241873215884]