Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001518/0.001518, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001884/0.001885, allocations: 198.4 kB / 16.14 MB, free: 6.801 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.363/1.363, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.556/2.556, allocations: 437 MB / 0.7099 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 75.88 kB / 0.8685 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6578/0.6592, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00183/0.6611, allocations: 0.6604 MB / 1.017 GB, free: 2.109 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002523/0.6613, allocations: 35.88 kB / 1.017 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.611e-05/0.6614, allocations: 0 / 1.017 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.6614, allocations: 7.938 kB / 1.017 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.945e-05/0.6614, allocations: 0 / 1.017 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001515/0.6616, allocations: 15.97 kB / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.743e-05/0.6616, allocations: 0 / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.6617, allocations: 4 kB / 1.017 GB, free: 2.047 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.728e-05/0.6617, allocations: 0 / 1.017 GB, free: 2.047 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.738e-05/0.6617, allocations: 4 kB / 1.017 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.6617, allocations: 4 kB / 1.017 GB, free: 2.039 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.273e-05/0.6618, allocations: 19.98 kB / 1.017 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.781e-05/0.6618, allocations: 0 / 1.017 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.6619, allocations: 7.938 kB / 1.017 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.662, allocations: 31.89 kB / 1.017 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.662, allocations: 0 / 1.017 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.154e-06/0.662, allocations: 0 / 1.017 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.662, allocations: 0 / 1.017 GB, free: 1.98 MB / 0.7637 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.0003114/0.6623, allocations: 353.2 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.6624, allocations: 16.03 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.6624, allocations: 0.9375 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.751e-05/0.6625, allocations: 166.3 kB / 1.018 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.6625, allocations: 384 / 1.018 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.6626, allocations: 4.375 kB / 1.018 GB, free: 1.359 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.6627, allocations: 58.25 kB / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.6627, allocations: 192 / 1.018 GB, free: 1.297 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.6627, allocations: 3.938 kB / 1.018 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.6627, allocations: 7.984 kB / 1.018 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.664e-05/0.6628, allocations: 23.98 kB / 1.018 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002914/0.6631, allocations: 280.7 kB / 1.018 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.76e-05/0.6631, allocations: 14.58 kB / 1.018 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/0.6632, allocations: 8.922 kB / 1.018 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-06/0.6632, allocations: 0 / 1.018 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.6632, allocations: 38.44 kB / 1.018 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.6632, allocations: 0 / 1.018 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001562/0.6634, allocations: 79.33 kB / 1.018 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.6634, allocations: 77.11 kB / 1.018 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.695e-05/0.6635, allocations: 117.7 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.6635, allocations: 25.7 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.6636, allocations: 103.8 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 8.426e-06/0.6636, allocations: 3.938 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.534e-05/0.6636, allocations: 21.72 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.443e-05/0.6637, allocations: 326.9 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.119e-05/0.6637, allocations: 7.984 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.315e-05/0.6638, allocations: 58.86 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.34e-05/0.6639, allocations: 130.1 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6639, allocations: 4 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001357/0.6641, allocations: 123.1 kB / 1.019 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.6641, allocations: 29.7 kB / 1.019 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.6641, allocations: 4.469 kB / 1.019 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.6641, allocations: 3.984 kB / 1.019 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.321e-05/0.6642, allocations: 15.98 kB / 1.019 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.6642, allocations: 4 kB / 1.019 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.061e-05/0.6643, allocations: 11.94 kB / 1.019 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.6643, allocations: 4 kB / 1.019 GB, free: 15.58 MB / 0.7794 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 9.464e-05/0.6644, allocations: 143.7 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.6644, allocations: 11.89 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.411e-05/0.6645, allocations: 7.531 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.6645, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.6645, allocations: 4 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.6645, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.6646, allocations: 153.6 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.6646, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-07/0.6646, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.6647, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.6647, allocations: 4 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.6647, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6647, allocations: 7.984 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.6648, allocations: 169.1 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.929e-05/0.6648, allocations: 81.05 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.6649, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.589e-05/0.6649, allocations: 4 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.6649, allocations: 12.03 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.6649, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.866e-05/0.665, allocations: 87.27 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.665, allocations: 3.938 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002323/0.6652, allocations: 19.94 kB / 1.02 GB, free: 14.78 MB / 0.7794 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.000155/0.6654, allocations: 111.2 kB / 1.02 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001182/0.6655, allocations: 87.7 kB / 1.02 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6655, allocations: 0 / 1.02 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.314e-05/0.6656, allocations: 59.34 kB / 1.02 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.6658, allocations: 4.531 kB / 1.02 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001972/0.666, allocations: 110.7 kB / 1.02 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.6662, allocations: 0.6786 MB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.176e-05/0.6663, allocations: 20.16 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.027e-05/0.6663, allocations: 7.438 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.6663, allocations: 0 / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of Templates: time 0.002333/0.6686, allocations: 0.4923 MB / 1.022 GB, free: 13.14 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches