Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.504/2.504, allocations: 390.3 MB / 405.3 MB, free: 13.51 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 169.2 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 223.2 MB / 0.7948 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000925/0.000925, allocations: 99.5 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004899, allocations: 10.16 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3673, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2111/0.5785, allocations: 148.5 MB / 1.368 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.5788, allocations: 75.95 kB / 1.368 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001453/0.5803, allocations: 0.5559 MB / 1.368 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5803, allocations: 0 / 1.368 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.5803, allocations: 0 / 1.368 GB, free: 12.99 MB / 0.8698 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.0003379/0.5807, allocations: 347 kB / 1.369 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.5807, allocations: 8.031 kB / 1.369 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.5808, allocations: 11.84 kB / 1.369 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.5809, allocations: 163 kB / 1.369 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.5809, allocations: 7.984 kB / 1.369 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.5809, allocations: 0 / 1.369 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.5811, allocations: 57.67 kB / 1.369 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.5811, allocations: 0 / 1.369 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.5811, allocations: 4 kB / 1.369 GB, free: 12.31 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.5812, allocations: 7.938 kB / 1.369 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.209e-05/0.5812, allocations: 19.98 kB / 1.369 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003703/0.5816, allocations: 260.9 kB / 1.369 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.992e-05/0.5817, allocations: 25.31 kB / 1.369 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.223e-06/0.5817, allocations: 0 / 1.369 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.5817, allocations: 30.56 kB / 1.369 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 6.061e-06/0.5817, allocations: 3.984 kB / 1.369 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001919/0.5819, allocations: 79.25 kB / 1.369 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.582, allocations: 81.11 kB / 1.37 GB, free: 11.71 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.5821, allocations: 109 kB / 1.37 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.5822, allocations: 25.7 kB / 1.37 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.5823, allocations: 95.86 kB / 1.37 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.5823, allocations: 15.89 kB / 1.37 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.5823, allocations: 0 / 1.37 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.5825, allocations: 310.8 kB / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.388e-05/0.5826, allocations: 20 kB / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.324e-05/0.5827, allocations: 62.8 kB / 1.37 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.658e-05/0.5828, allocations: 45.69 kB / 1.37 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.5828, allocations: 0 / 1.37 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001994/0.583, allocations: 119.2 kB / 1.37 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.145e-05/0.583, allocations: 33.7 kB / 1.37 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.583, allocations: 3.984 kB / 1.37 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.5831, allocations: 4 kB / 1.37 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.581e-05/0.5831, allocations: 15.95 kB / 1.37 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.5832, allocations: 480 / 1.37 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.082e-05/0.5832, allocations: 12.09 kB / 1.37 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.5833, allocations: 16 kB / 1.37 GB, free: 10.77 MB / 0.8698 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 0.000126/0.5834, allocations: 143.5 kB / 1.371 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.5834, allocations: 4 kB / 1.371 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.042e-05/0.5835, allocations: 3.531 kB / 1.371 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5835, allocations: 0 / 1.371 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.5835, allocations: 7.953 kB / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.5835, allocations: 0 / 1.371 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.5837, allocations: 153.7 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5837, allocations: 0 / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.495e-06/0.5837, allocations: 11.94 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.5837, allocations: 0 / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.5837, allocations: 0 / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5837, allocations: 0 / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5837, allocations: 0 / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.5839, allocations: 169.1 kB / 1.371 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.5839, allocations: 81.02 kB / 1.371 GB, free: 10.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.584, allocations: 4 kB / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.629e-05/0.584, allocations: 8.016 kB / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.5841, allocations: 0 / 1.371 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.5841, allocations: 4 kB / 1.371 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.042e-05/0.5841, allocations: 95.25 kB / 1.371 GB, free: 9.988 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5841, allocations: 0 / 1.371 GB, free: 9.988 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002452/0.5844, allocations: 15.95 kB / 1.371 GB, free: 9.973 MB / 0.8698 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.0002166/0.5846, allocations: 114.9 kB / 1.371 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001644/0.5848, allocations: 91.33 kB / 1.371 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.5848, allocations: 0 / 1.371 GB, free: 9.746 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.013e-05/0.5849, allocations: 55.41 kB / 1.371 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.585, allocations: 0 / 1.371 GB, free: 9.68 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.5853, allocations: 118.4 kB / 1.371 GB, free: 9.539 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.5856, allocations: 0.6776 MB / 1.372 GB, free: 8.836 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.381e-05/0.5857, allocations: 16.17 kB / 1.372 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.17e-05/0.5857, allocations: 7.438 kB / 1.372 GB, free: 8.809 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/0.5857, allocations: 4 kB / 1.372 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of Templates: time 0.002863/0.5886, allocations: 478.9 kB / 1.373 GB, free: 8.34 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches