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.007717/0.007718, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001669/0.001669, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.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.46/2.46, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 67.89 kB / 1.019 GB, free: 9.332 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.868/0.8693, allocations: 151.6 MB / 1.167 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001783/0.8711, allocations: 0.5863 MB / 1.167 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002569/0.8714, allocations: 41.72 kB / 1.167 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.082e-05/0.8714, allocations: 0 / 1.167 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.8715, allocations: 0 / 1.167 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.769e-05/0.8715, allocations: 4 kB / 1.167 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.8717, allocations: 15.98 kB / 1.167 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.852e-05/0.8718, allocations: 7.938 kB / 1.167 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.829e-05/0.8719, allocations: 0 / 1.167 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.91e-05/0.8719, allocations: 0 / 1.167 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.654e-05/0.872, allocations: 11.98 kB / 1.167 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.872, allocations: 0 / 1.167 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.639e-05/0.8721, allocations: 23.97 kB / 1.167 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.248e-05/0.8721, allocations: 7.938 kB / 1.167 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.431e-05/0.8721, allocations: 0 / 1.167 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.8722, allocations: 19.92 kB / 1.167 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.8723, allocations: 0 / 1.167 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8723, allocations: 4 kB / 1.167 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.8723, allocations: 4 kB / 1.167 GB, free: 3.074 MB / 0.8887 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.0003414/0.8726, allocations: 357.7 kB / 1.168 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.8727, allocations: 8.922 kB / 1.168 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.8727, allocations: 0.9375 kB / 1.168 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.637e-05/0.8728, allocations: 160.4 kB / 1.168 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.8728, allocations: 4.375 kB / 1.168 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.8729, allocations: 4.359 kB / 1.168 GB, free: 2.461 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/0.873, allocations: 70.11 kB / 1.168 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.873, allocations: 192 / 1.168 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.873, allocations: 3.938 kB / 1.168 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.879e-05/0.8731, allocations: 8 kB / 1.168 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.091e-05/0.8731, allocations: 23.98 kB / 1.168 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003432/0.8735, allocations: 264.8 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.442e-05/0.8735, allocations: 18.58 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/0.8736, allocations: 12.8 kB / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.8736, allocations: 0 / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.8736, allocations: 34.62 kB / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.8736, allocations: 0 / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001811/0.8738, allocations: 67.39 kB / 1.168 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.8739, allocations: 77.11 kB / 1.168 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.904e-05/0.8739, allocations: 113.8 kB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.874, allocations: 33.7 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.874, allocations: 104 kB / 1.169 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.677e-06/0.874, allocations: 4 kB / 1.169 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.234e-05/0.8741, allocations: 29.61 kB / 1.169 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.8742, allocations: 322.8 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.315e-05/0.8743, allocations: 11.94 kB / 1.169 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.144e-05/0.8743, allocations: 67.22 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.8744, allocations: 134.1 kB / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8744, allocations: 0 / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001354/0.8746, allocations: 111.2 kB / 1.169 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/0.8746, allocations: 33.7 kB / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.8746, allocations: 0 / 1.169 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.8747, allocations: 8.234 kB / 1.169 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.162e-05/0.8747, allocations: 23.94 kB / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.8747, allocations: 0 / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.763e-05/0.8748, allocations: 11.89 kB / 1.169 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.8748, allocations: 11.98 kB / 1.169 GB, free: 0.6719 MB / 0.8887 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 8.865e-05/0.8749, allocations: 147.5 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.875, allocations: 0 / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.534e-05/0.875, allocations: 11.53 kB / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.875, allocations: 0 / 1.17 GB, free: 0.4961 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.875, allocations: 3.938 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.875, allocations: 7.938 kB / 1.17 GB, free: 496 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.8752, allocations: 157.6 kB / 1.17 GB, free: 288 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.8752, allocations: 0 / 1.17 GB, free: 288 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.8752, allocations: 0 / 1.17 GB, free: 288 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.8752, allocations: 4 kB / 1.17 GB, free: 284 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.8752, allocations: 0 / 1.17 GB, free: 284 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.8752, allocations: 0 / 1.17 GB, free: 284 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.8752, allocations: 0 / 1.17 GB, free: 284 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.8753, allocations: 177.1 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/0.8754, allocations: 77.11 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.8754, allocations: 7.984 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.829e-05/0.8755, allocations: 0 / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.082e-05/0.8755, allocations: 0 / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.8755, allocations: 4 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.481e-05/0.8755, allocations: 91.27 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8755, allocations: 0 / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000243/0.8758, allocations: 11.94 kB / 1.17 GB, free: 15.88 MB / 0.9044 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.0001499/0.8759, allocations: 115.2 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001281/0.8761, allocations: 83.33 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.8761, allocations: 0 / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.101e-05/0.8761, allocations: 55.41 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.8763, allocations: 10.06 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002054/0.8766, allocations: 101.4 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002433/0.8768, allocations: 0.6846 MB / 1.171 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.215e-05/0.8769, allocations: 7.984 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.234e-05/0.8769, allocations: 11.44 kB / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.8769, allocations: 0 / 1.171 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of Templates: time 0.002629/0.8796, allocations: 0.5219 MB / 1.172 GB, free: 14.21 MB / 0.9044 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