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.001623/0.001623, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001418/0.001418, allocations: 201.5 kB / 22.17 MB, free: 5.211 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.469/1.469, allocations: 225.6 MB / 250.9 MB, free: 13.27 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.819/2.819, allocations: 476.7 MB / 0.7645 GB, free: 10.13 MB / 0.6231 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: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.89 kB / 1.109 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8822/0.8842, allocations: 168.7 MB / 1.274 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002038/0.8862, allocations: 0.5977 MB / 1.275 GB, free: 3.953 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003003/0.8865, allocations: 39.88 kB / 1.275 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.8865, allocations: 0 / 1.275 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.909e-05/0.8866, allocations: 3.938 kB / 1.275 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.387e-05/0.8866, allocations: 7.938 kB / 1.275 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.8869, allocations: 7.984 kB / 1.275 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.887, allocations: 4 kB / 1.275 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.246e-05/0.887, allocations: 4 kB / 1.275 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.588e-05/0.8871, allocations: 3.984 kB / 1.275 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.355e-05/0.8871, allocations: 7.984 kB / 1.275 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.8871, allocations: 4 kB / 1.275 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.212e-05/0.8872, allocations: 19.98 kB / 1.275 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.653e-05/0.8873, allocations: 0 / 1.275 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.8873, allocations: 7.938 kB / 1.275 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.8874, allocations: 22.59 kB / 1.275 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8874, allocations: 0 / 1.275 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.334e-06/0.8874, allocations: 0 / 1.275 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.8874, allocations: 0 / 1.275 GB, free: 3.824 MB / 0.9669 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.0004585/0.8879, allocations: 353.2 kB / 1.275 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.8879, allocations: 16.03 kB / 1.275 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.888, allocations: 0.9375 kB / 1.275 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.8881, allocations: 176.2 kB / 1.275 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.8881, allocations: 384 / 1.275 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.8881, allocations: 4.375 kB / 1.275 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.8883, allocations: 54.25 kB / 1.275 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.8883, allocations: 192 / 1.275 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.8883, allocations: 3.938 kB / 1.275 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.329e-05/0.8883, allocations: 4 kB / 1.275 GB, free: 3.125 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.199e-05/0.8884, allocations: 23.98 kB / 1.275 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.8888, allocations: 272.8 kB / 1.276 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.341e-05/0.8888, allocations: 18.58 kB / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.93e-05/0.8888, allocations: 8.922 kB / 1.276 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.8888, allocations: 3.938 kB / 1.276 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.8889, allocations: 34.55 kB / 1.276 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.8889, allocations: 4 kB / 1.276 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001965/0.8891, allocations: 67.34 kB / 1.276 GB, free: 2.617 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.904e-05/0.8891, allocations: 81.11 kB / 1.276 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.8892, allocations: 121.7 kB / 1.276 GB, free: 2.391 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.8893, allocations: 25.7 kB / 1.276 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.8893, allocations: 104 kB / 1.276 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.296e-05/0.8893, allocations: 7.938 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.8894, allocations: 25.7 kB / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.8895, allocations: 322.9 kB / 1.276 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.729e-05/0.8896, allocations: 11.98 kB / 1.276 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.298e-05/0.8896, allocations: 54.88 kB / 1.277 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.8898, allocations: 138.1 kB / 1.277 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.8898, allocations: 0 / 1.277 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001565/0.8899, allocations: 123.2 kB / 1.277 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.89, allocations: 31.27 kB / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.89, allocations: 4 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.89, allocations: 4 kB / 1.277 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.103e-05/0.89, allocations: 8 kB / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.8901, allocations: 4 kB / 1.277 GB, free: 1.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.685e-05/0.8901, allocations: 11.89 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.8901, allocations: 8.234 kB / 1.277 GB, free: 1.422 MB / 0.9669 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.0001055/0.8902, allocations: 156 kB / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.8903, allocations: 0 / 1.277 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.307e-05/0.8903, allocations: 3.531 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.8903, allocations: 4 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.8903, allocations: 0 / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.8903, allocations: 0 / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.8905, allocations: 157.6 kB / 1.277 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.8905, allocations: 0 / 1.277 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.8905, allocations: 0 / 1.277 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.8905, allocations: 7.984 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.8905, allocations: 4 kB / 1.277 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.8905, allocations: 4 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.8905, allocations: 0 / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.8906, allocations: 177 kB / 1.277 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.379e-05/0.8907, allocations: 81.09 kB / 1.277 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.8907, allocations: 0 / 1.277 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.908e-05/0.8907, allocations: 4.031 kB / 1.277 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.8907, allocations: 4 kB / 1.277 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-06/0.8907, allocations: 0 / 1.277 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.7e-05/0.8908, allocations: 91.73 kB / 1.278 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.8908, allocations: 0 / 1.278 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002441/0.891, allocations: 15.94 kB / 1.278 GB, free: 0.6211 MB / 0.9669 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.0001654/0.8912, allocations: 103.2 kB / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001478/0.8914, allocations: 83.58 kB / 1.278 GB, free: 424 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.8914, allocations: 7.938 kB / 1.278 GB, free: 416 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.842e-05/0.8914, allocations: 59.39 kB / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.8916, allocations: 7.938 kB / 1.278 GB, free: 336 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.8918, allocations: 124.9 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.8921, allocations: 0.6768 MB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.378e-05/0.8922, allocations: 16.3 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.303e-05/0.8922, allocations: 7.438 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.8922, allocations: 0 / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of Templates: time 0.00289/0.8951, allocations: 0.5441 MB / 1.279 GB, free: 14.92 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 400] 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: 8.759899303782731]