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.126/2.126, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001176/0.001176, allocations: 176.8 kB / 487.4 MB, free: 5.031 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.429/1.429, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008965/0.0008965, allocations: 95.89 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.911e-05/1.913e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2461, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8041/1.05, allocations: 147.7 MB / 1.35 GB, free: 18.55 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/1.051, allocations: 74.67 kB / 1.35 GB, free: 18.55 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00207/1.053, allocations: 0.5524 MB / 1.351 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.064e-06/1.053, allocations: 0 / 1.351 GB, free: 34.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.261e-06/1.053, allocations: 0.9375 kB / 1.351 GB, free: 34.23 MB / 0.8386 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.0002483/1.053, allocations: 343.6 kB / 1.351 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/1.053, allocations: 8.156 kB / 1.351 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/1.053, allocations: 2.031 kB / 1.351 GB, free: 33.85 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.408e-05/1.053, allocations: 174 kB / 1.351 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/1.053, allocations: 0 / 1.351 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/1.053, allocations: 0 / 1.351 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.382e-05/1.053, allocations: 22.2 kB / 1.351 GB, free: 33.65 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.869e-05/1.053, allocations: 62.02 kB / 1.351 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/1.053, allocations: 1.562 kB / 1.351 GB, free: 33.61 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/1.053, allocations: 7.938 kB / 1.351 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/1.053, allocations: 5.016 kB / 1.351 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000306/1.054, allocations: 241.3 kB / 1.352 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.468e-05/1.054, allocations: 21.77 kB / 1.352 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.3e-05/1.054, allocations: 7.859 kB / 1.352 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-06/1.054, allocations: 3.906 kB / 1.352 GB, free: 33.33 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/1.054, allocations: 39.77 kB / 1.352 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/1.054, allocations: 0 / 1.352 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001687/1.054, allocations: 38.66 kB / 1.352 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/1.054, allocations: 81.06 kB / 1.352 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.887e-05/1.054, allocations: 107.1 kB / 1.352 GB, free: 33.06 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/1.054, allocations: 25.7 kB / 1.352 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/1.054, allocations: 103.7 kB / 1.352 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.162e-06/1.054, allocations: 4.547 kB / 1.352 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/1.054, allocations: 4.031 kB / 1.352 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001094/1.054, allocations: 310.8 kB / 1.352 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/1.054, allocations: 12.67 kB / 1.352 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.857e-05/1.054, allocations: 51.61 kB / 1.352 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.924e-05/1.055, allocations: 27.88 kB / 1.352 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.055, allocations: 0 / 1.352 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001172/1.055, allocations: 82.23 kB / 1.353 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/1.055, allocations: 35.38 kB / 1.353 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.055, allocations: 3.844 kB / 1.353 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/1.055, allocations: 3.844 kB / 1.353 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.852e-05/1.055, allocations: 9.062 kB / 1.353 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/1.055, allocations: 7.688 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.424e-05/1.055, allocations: 14.83 kB / 1.353 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/1.055, allocations: 3.844 kB / 1.353 GB, free: 32.46 MB / 0.8386 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 () * 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 7.648e-05/1.055, allocations: 133.7 kB / 1.353 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.573e-05/1.055, allocations: 7.688 kB / 1.353 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.892e-05/1.055, allocations: 9.516 kB / 1.353 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/1.055, allocations: 1.438 kB / 1.353 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.055, allocations: 0 / 1.353 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/1.055, allocations: 0 / 1.353 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/1.055, allocations: 136.2 kB / 1.353 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.055, allocations: 5.047 kB / 1.353 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/1.055, allocations: 0 / 1.353 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/1.055, allocations: 0 / 1.353 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/1.055, allocations: 0 / 1.353 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/1.055, allocations: 4.406 kB / 1.353 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.055, allocations: 1.5 kB / 1.353 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/1.055, allocations: 146.6 kB / 1.353 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/1.055, allocations: 82.31 kB / 1.353 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/1.055, allocations: 3.875 kB / 1.353 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.191e-05/1.055, allocations: 1.875 kB / 1.353 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/1.055, allocations: 0 / 1.353 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/1.055, allocations: 3.969 kB / 1.353 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.733e-05/1.056, allocations: 92.33 kB / 1.353 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.056, allocations: 0 / 1.353 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002429/1.056, allocations: 11.53 kB / 1.353 GB, free: 31.82 MB / 0.8386 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 () * 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.0001666/1.056, allocations: 103.8 kB / 1.353 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001122/1.056, allocations: 80.81 kB / 1.353 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.056, allocations: 0 / 1.353 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.941e-05/1.056, allocations: 55.75 kB / 1.353 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/1.056, allocations: 5.141 kB / 1.353 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002033/1.056, allocations: 72.83 kB / 1.354 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/1.057, allocations: 0.6792 MB / 1.354 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.494e-05/1.057, allocations: 12.19 kB / 1.354 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.033e-05/1.057, allocations: 11.41 kB / 1.354 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.057, allocations: 0 / 1.354 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of Templates: time 0.002351/1.059, allocations: 483 kB / 1.355 GB, free: 30.76 MB / 0.8386 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