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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 114 kB / 16.43 MB, free: 6.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 183.2 kB / 17.35 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.154/1.154, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.251/2.251, allocations: 469.8 MB / 0.7432 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.375e-05, allocations: 6.438 kB / 1.066 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001114/0.001137, allocations: 0.5897 MB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001905/0.001339, allocations: 47.86 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.049e-05/0.001368, allocations: 0 / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.036e-05/0.001393, allocations: 0 / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.766e-05/0.001425, allocations: 4 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.001588, allocations: 11.98 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.9e-05/0.001664, allocations: 11.92 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.193e-05/0.001701, allocations: 0 / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.326e-05/0.001719, allocations: 0 / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 2.498e-05/0.001747, allocations: 4 kB / 1.066 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.001763, allocations: 4 kB / 1.066 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.484e-05/0.001832, allocations: 23.97 kB / 1.067 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of combineBinaries: time 2.747e-05/0.001865, allocations: 7.844 kB / 1.067 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.755e-06/0.001872, allocations: 4 kB / 1.067 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.055e-06/0.001884, allocations: 0 / 1.067 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of FrontEnd: time 6.613e-06/0.001895, allocations: 0 / 1.067 GB, free: 12.88 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 (2) * Number of variables: 8 (2) Notification: Performance of Bindings: time 0.0002228/0.002121, allocations: 161.2 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 1.611e-05/0.002143, allocations: 15.94 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of Early Inline: time 5.784e-05/0.002205, allocations: 44.36 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of simplify1: time 3.292e-05/0.002244, allocations: 40.42 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of Alias: time 4.242e-05/0.002291, allocations: 56.56 kB / 1.067 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of simplify2: time 3.465e-05/0.00233, allocations: 40.41 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of Detect States: time 4.653e-05/0.002381, allocations: 38.64 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of Events: time 4.002e-05/0.002427, allocations: 3.984 kB / 1.067 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of Partitioning: time 3.969e-05/0.002472, allocations: 24.12 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001572/0.002635, allocations: 56.05 kB / 1.067 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 4.95e-05/0.002693, allocations: 60.34 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of Inline: time 6.142e-05/0.00276, allocations: 76.47 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of Partitioning: time 8.877e-06/0.002775, allocations: 12.11 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of Cleanup: time 1.508e-05/0.002794, allocations: 11.94 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of Causalize: time 9.983e-05/0.002898, allocations: 68.09 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of Tearing: time 6.723e-06/0.002912, allocations: 0 / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of Initialization: time 2.71e-07/0.002916, allocations: 0 / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of Tearing: time 9.11e-07/0.002921, allocations: 0 / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of Categorize: time 7.605e-06/0.002932, allocations: 7.938 kB / 1.067 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of Solve: time 2.786e-05/0.002965, allocations: 8 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.394e-06/0.002971, allocations: 0 / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1 (scalar:0, array:1, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1 (scalar:0, array:1, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.672e-05/0.003001, allocations: 31.58 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0004975/0.003503, allocations: 0.8022 MB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of Templates: time 0.002128/0.005641, allocations: 425.9 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches