Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.635/2.635, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001032/0.001032, allocations: 188.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 221.3 MB / 0.7915 GB, free: 5.465 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.0009854/0.0009853, allocations: 99.88 kB / 0.9317 GB, free: 5.777 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.889e-05/3.916e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3045, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.074/1.379, allocations: 149.2 MB / 1.364 GB, free: 4.844 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/1.379, allocations: 75.39 kB / 1.365 GB, free: 4.801 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001476/1.38, allocations: 0.5516 MB / 1.365 GB, free: 4.277 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.814e-06/1.38, allocations: 0.7188 kB / 1.365 GB, free: 4.277 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.783e-06/1.38, allocations: 0 / 1.365 GB, free: 4.277 MB / 0.823 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.0003078/1.381, allocations: 340.3 kB / 1.365 GB, free: 3.898 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/1.381, allocations: 12.03 kB / 1.365 GB, free: 3.887 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.013e-05/1.381, allocations: 5.875 kB / 1.365 GB, free: 3.883 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/1.381, allocations: 171 kB / 1.366 GB, free: 3.676 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/1.381, allocations: 0 / 1.366 GB, free: 3.676 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/1.381, allocations: 0 / 1.366 GB, free: 3.676 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/1.381, allocations: 63.3 kB / 1.366 GB, free: 3.613 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/1.381, allocations: 0 / 1.366 GB, free: 3.613 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/1.381, allocations: 0 / 1.366 GB, free: 3.613 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/1.381, allocations: 4 kB / 1.366 GB, free: 3.609 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.881e-05/1.381, allocations: 25.73 kB / 1.366 GB, free: 3.59 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/1.382, allocations: 265.9 kB / 1.366 GB, free: 3.293 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.329e-05/1.382, allocations: 22.02 kB / 1.366 GB, free: 3.266 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/1.382, allocations: 14.83 kB / 1.366 GB, free: 3.25 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/1.382, allocations: 3.984 kB / 1.366 GB, free: 3.246 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/1.382, allocations: 30.56 kB / 1.366 GB, free: 3.207 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/1.382, allocations: 4 kB / 1.366 GB, free: 3.203 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001677/1.382, allocations: 67.27 kB / 1.366 GB, free: 3.125 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/1.382, allocations: 81.09 kB / 1.366 GB, free: 3.027 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.368e-05/1.382, allocations: 104.4 kB / 1.366 GB, free: 2.926 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/1.382, allocations: 25.7 kB / 1.366 GB, free: 2.895 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.91e-05/1.382, allocations: 103.8 kB / 1.366 GB, free: 2.789 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.494e-06/1.382, allocations: 6.188 kB / 1.366 GB, free: 2.785 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/1.382, allocations: 4 kB / 1.366 GB, free: 2.781 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001189/1.382, allocations: 318.2 kB / 1.367 GB, free: 2.465 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.555e-05/1.382, allocations: 11.98 kB / 1.367 GB, free: 2.453 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.497e-05/1.382, allocations: 59.06 kB / 1.367 GB, free: 2.375 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.736e-05/1.383, allocations: 53.06 kB / 1.367 GB, free: 2.32 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.383, allocations: 0 / 1.367 GB, free: 2.32 MB / 0.823 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001402/1.383, allocations: 117.2 kB / 1.367 GB, free: 2.199 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/1.383, allocations: 42.94 kB / 1.367 GB, free: 2.156 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/1.383, allocations: 4.875 kB / 1.367 GB, free: 2.152 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/1.383, allocations: 7.953 kB / 1.367 GB, free: 2.145 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.914e-05/1.383, allocations: 8 kB / 1.367 GB, free: 2.137 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/1.383, allocations: 8.094 kB / 1.367 GB, free: 2.129 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.019e-05/1.383, allocations: 7.938 kB / 1.367 GB, free: 2.121 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/1.383, allocations: 7.984 kB / 1.367 GB, free: 2.113 MB / 0.823 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 8.284e-05/1.383, allocations: 137.5 kB / 1.367 GB, free: 1.969 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/1.383, allocations: 7.844 kB / 1.367 GB, free: 1.965 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.638e-05/1.383, allocations: 15.59 kB / 1.367 GB, free: 1.949 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/1.383, allocations: 0 / 1.367 GB, free: 1.949 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/1.383, allocations: 3.953 kB / 1.367 GB, free: 1.945 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/1.383, allocations: 0 / 1.367 GB, free: 1.945 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/1.383, allocations: 153.1 kB / 1.367 GB, free: 1.75 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/1.383, allocations: 0 / 1.367 GB, free: 1.75 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/1.383, allocations: 0 / 1.367 GB, free: 1.75 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/1.383, allocations: 4 kB / 1.367 GB, free: 1.746 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/1.383, allocations: 0 / 1.367 GB, free: 1.746 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/1.383, allocations: 0 / 1.367 GB, free: 1.746 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.383, allocations: 0 / 1.367 GB, free: 1.746 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/1.383, allocations: 172 kB / 1.367 GB, free: 1.559 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/1.383, allocations: 77.11 kB / 1.368 GB, free: 1.465 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/1.383, allocations: 4 kB / 1.368 GB, free: 1.461 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.76e-05/1.384, allocations: 0 / 1.368 GB, free: 1.461 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.399e-05/1.384, allocations: 3.25 kB / 1.368 GB, free: 1.461 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/1.384, allocations: 4 kB / 1.368 GB, free: 1.457 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.597e-05/1.384, allocations: 91.22 kB / 1.368 GB, free: 1.367 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.31e-07/1.384, allocations: 4.031 kB / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002623/1.384, allocations: 10.88 kB / 1.368 GB, free: 1.355 MB / 0.823 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.0001606/1.384, allocations: 103.2 kB / 1.368 GB, free: 1.246 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001285/1.384, allocations: 82.64 kB / 1.368 GB, free: 1.156 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.384, allocations: 0 / 1.368 GB, free: 1.156 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.598e-05/1.384, allocations: 63.72 kB / 1.368 GB, free: 1.086 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001254/1.384, allocations: 14.98 kB / 1.368 GB, free: 1.074 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001797/1.385, allocations: 69.3 kB / 1.368 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/1.385, allocations: 0.6848 MB / 1.369 GB, free: 280 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 4.625e-05/1.385, allocations: 12.17 kB / 1.369 GB, free: 264 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.058e-05/1.385, allocations: 7.438 kB / 1.369 GB, free: 256 kB / 0.823 GB Notification: Performance of SimCode: time 2.21e-07/1.385, allocations: 0 / 1.369 GB, free: 256 kB / 0.823 GB Notification: Performance of Templates: time 0.002267/1.387, allocations: 499.1 kB / 1.369 GB, free: 15.78 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches