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.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.001531/0.001531, allocations: 112.2 kB / 16.41 MB, free: 6.512 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.001678/0.001678, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.475/1.475, allocations: 222.9 MB / 245 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] 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.747/2.747, allocations: 469.8 MB / 0.7491 GB, free: 2.98 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.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: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 71.89 kB / 1.073 GB, free: 56 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7841/0.7861, allocations: 159.1 MB / 1.229 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001765/0.7879, allocations: 0.5891 MB / 1.229 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002609/0.7881, allocations: 43.81 kB / 1.229 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.727e-05/0.7882, allocations: 0 / 1.229 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.7882, allocations: 3.938 kB / 1.229 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.617e-05/0.7883, allocations: 0 / 1.229 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002366/0.7885, allocations: 15.92 kB / 1.229 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.11e-05/0.7886, allocations: 4 kB / 1.229 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.342e-05/0.7887, allocations: 4 kB / 1.229 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.184e-05/0.7887, allocations: 4 kB / 1.229 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.835e-05/0.7887, allocations: 3.984 kB / 1.229 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.7888, allocations: 0 / 1.229 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.133e-05/0.7889, allocations: 19.98 kB / 1.229 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.762e-05/0.7889, allocations: 4 kB / 1.229 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.585e-05/0.7889, allocations: 3.938 kB / 1.229 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.7891, allocations: 29.73 kB / 1.229 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7891, allocations: 0 / 1.229 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7891, allocations: 0 / 1.229 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.7891, allocations: 0 / 1.229 GB, free: 4.059 MB / 0.9356 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.0004576/0.7895, allocations: 361.1 kB / 1.23 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.7896, allocations: 12.03 kB / 1.23 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.276e-05/0.7897, allocations: 38.73 kB / 1.23 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.768e-05/0.7897, allocations: 0.9375 kB / 1.23 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.7898, allocations: 164.3 kB / 1.23 GB, free: 3.391 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.7898, allocations: 4.375 kB / 1.23 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.7899, allocations: 384 / 1.23 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.79, allocations: 54.25 kB / 1.23 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.7901, allocations: 3.938 kB / 1.23 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.7901, allocations: 0 / 1.23 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-05/0.7901, allocations: 19.98 kB / 1.23 GB, free: 3.305 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.21e-05/0.7902, allocations: 19.98 kB / 1.23 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.7906, allocations: 264.8 kB / 1.23 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.92e-05/0.7907, allocations: 22.52 kB / 1.23 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.686e-05/0.7907, allocations: 8.844 kB / 1.23 GB, free: 2.934 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-06/0.7907, allocations: 3.938 kB / 1.23 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/0.7908, allocations: 38.62 kB / 1.23 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.7908, allocations: 4 kB / 1.23 GB, free: 2.879 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0002031/0.791, allocations: 59.41 kB / 1.23 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.791, allocations: 81.05 kB / 1.23 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.7912, allocations: 129.7 kB / 1.231 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.7912, allocations: 29.7 kB / 1.231 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/0.7913, allocations: 92 kB / 1.231 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.7913, allocations: 7.953 kB / 1.231 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.959e-05/0.7914, allocations: 37.77 kB / 1.231 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.7916, allocations: 314.8 kB / 1.231 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.051e-05/0.7916, allocations: 11.98 kB / 1.231 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.008e-05/0.7917, allocations: 54.86 kB / 1.231 GB, free: 1.988 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.7918, allocations: 134.1 kB / 1.231 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7918, allocations: 4 kB / 1.231 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001897/0.792, allocations: 119.2 kB / 1.231 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.7921, allocations: 33.7 kB / 1.231 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.7921, allocations: 0 / 1.231 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.7921, allocations: 4 kB / 1.231 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.25e-05/0.7922, allocations: 11.98 kB / 1.231 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.7922, allocations: 7.984 kB / 1.231 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.21e-05/0.7923, allocations: 16.14 kB / 1.231 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.7923, allocations: 11.94 kB / 1.231 GB, free: 1.598 MB / 0.9356 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.0001319/0.7925, allocations: 143.5 kB / 1.232 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.7925, allocations: 0 / 1.232 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.249e-05/0.7925, allocations: 7.531 kB / 1.232 GB, free: 1.426 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.7925, allocations: 3.984 kB / 1.232 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.7925, allocations: 0 / 1.232 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.7925, allocations: 0 / 1.232 GB, free: 1.422 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001962/0.7927, allocations: 157.6 kB / 1.232 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7928, allocations: 4 kB / 1.232 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-07/0.7928, allocations: 0 / 1.232 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.7928, allocations: 0 / 1.232 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.7928, allocations: 4 kB / 1.232 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.7928, allocations: 4 kB / 1.232 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.7928, allocations: 0 / 1.232 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.793, allocations: 181 kB / 1.232 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.122e-05/0.793, allocations: 77.11 kB / 1.232 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.7931, allocations: 8.031 kB / 1.232 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.455e-05/0.7931, allocations: 0 / 1.232 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.7932, allocations: 0 / 1.232 GB, free: 0.9062 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.7932, allocations: 4 kB / 1.232 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.991e-05/0.7932, allocations: 95.2 kB / 1.232 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7932, allocations: 0 / 1.232 GB, free: 0.8086 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002512/0.7935, allocations: 11.94 kB / 1.232 GB, free: 0.7969 MB / 0.9356 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.0005421/0.794, allocations: 0.6992 MB / 1.233 GB, free: 68 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001906/0.7942, allocations: 87.27 kB / 1.233 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.7943, allocations: 0 / 1.233 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.537e-05/0.7943, allocations: 63.39 kB / 1.233 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.7945, allocations: 12.52 kB / 1.233 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.7949, allocations: 142.5 kB / 1.233 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.7953, allocations: 0.6768 MB / 1.234 GB, free: 15 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001127/0.7954, allocations: 15.97 kB / 1.234 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.335e-05/0.7955, allocations: 7.438 kB / 1.234 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.7955, allocations: 0 / 1.234 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.8179, allocations: 1.451 MB / 1.235 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.863, allocations: 0 / 1.235 GB, free: 13.67 MB / 0.9512 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 14.788349532987922]