Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.312/1.312, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 177.4 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.4 MB / 0.5775 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008155/0.0008155, allocations: 96.59 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.0003348, allocations: 12.5 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.21, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.3709, allocations: 130.9 MB / 1.028 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.3713, allocations: 79.94 kB / 1.028 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001509/0.3728, allocations: 0.563 MB / 1.029 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.846e-06/0.3728, allocations: 0 / 1.029 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3728, allocations: 4 kB / 1.029 GB, free: 12.16 MB / 0.6823 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.0003064/0.3732, allocations: 349 kB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.3732, allocations: 8.031 kB / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.3733, allocations: 4 kB / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.271e-05/0.3734, allocations: 170.9 kB / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.3734, allocations: 0 / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.382e-05/0.3734, allocations: 4 kB / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.3736, allocations: 57.67 kB / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.3736, allocations: 0 / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.3736, allocations: 0 / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.3736, allocations: 4 kB / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.32e-05/0.3737, allocations: 23.98 kB / 1.029 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.374, allocations: 272.7 kB / 1.029 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.518e-05/0.3741, allocations: 18.58 kB / 1.029 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.3741, allocations: 0 / 1.029 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.3742, allocations: 34.56 kB / 1.029 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3742, allocations: 0 / 1.029 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0002016/0.3744, allocations: 83.34 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.3744, allocations: 81.05 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.12e-05/0.3745, allocations: 105 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.3746, allocations: 25.7 kB / 1.03 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.3746, allocations: 103.7 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.729e-06/0.3746, allocations: 7.984 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.3746, allocations: 0 / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.3748, allocations: 310.8 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.295e-05/0.3748, allocations: 16.12 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.557e-05/0.3749, allocations: 54.86 kB / 1.03 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.257e-05/0.3749, allocations: 57.62 kB / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3749, allocations: 0 / 1.03 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000139/0.3751, allocations: 115.2 kB / 1.03 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.3751, allocations: 29.7 kB / 1.03 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.3751, allocations: 4 kB / 1.03 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3752, allocations: 256 / 1.03 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.791e-05/0.3752, allocations: 23.92 kB / 1.03 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.3753, allocations: 7.953 kB / 1.03 GB, free: 9.961 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.174e-05/0.3753, allocations: 15.84 kB / 1.03 GB, free: 9.945 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.3753, allocations: 4.469 kB / 1.03 GB, free: 9.941 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.779e-05/0.3754, allocations: 143.5 kB / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.3755, allocations: 7.984 kB / 1.031 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.487e-05/0.3755, allocations: 3.531 kB / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3755, allocations: 0 / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3755, allocations: 4 kB / 1.031 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3755, allocations: 7.953 kB / 1.031 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.3757, allocations: 153.7 kB / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3757, allocations: 0 / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.3757, allocations: 0 / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.3757, allocations: 0 / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.3757, allocations: 0 / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.3757, allocations: 0 / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3757, allocations: 0 / 1.031 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.3758, allocations: 173.8 kB / 1.031 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.687e-05/0.3759, allocations: 81.11 kB / 1.031 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.3759, allocations: 0 / 1.031 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.05e-05/0.376, allocations: 0 / 1.031 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.376, allocations: 3.984 kB / 1.031 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.376, allocations: 4 kB / 1.031 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.51e-05/0.376, allocations: 95.2 kB / 1.031 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.376, allocations: 0 / 1.031 GB, free: 9.172 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003927/0.3764, allocations: 8 kB / 1.031 GB, free: 9.164 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001988/0.3767, allocations: 115.3 kB / 1.031 GB, free: 9.043 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000157/0.3768, allocations: 87.27 kB / 1.031 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3768, allocations: 0 / 1.031 GB, free: 8.945 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.011e-05/0.3769, allocations: 59.34 kB / 1.031 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.3771, allocations: 7.953 kB / 1.031 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/0.3773, allocations: 115.2 kB / 1.032 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.3777, allocations: 0.6848 MB / 1.032 GB, free: 8.016 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.106e-05/0.3777, allocations: 8.172 kB / 1.032 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.449e-05/0.3777, allocations: 11.44 kB / 1.032 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of SimCode: time 3.61e-07/0.3777, allocations: 0 / 1.032 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of Templates: time 0.002944/0.3807, allocations: 494.2 kB / 1.033 GB, free: 7.52 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches