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.591/1.591, allocations: 249.5 MB / 257 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 176.3 kB / 316.3 MB, free: 3.289 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.833/1.833, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008698/0.0008698, allocations: 82.48 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.733e-05/3.736e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2922, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8462/1.138, allocations: 131.1 MB / 1.013 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/1.139, allocations: 78.75 kB / 1.013 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001485/1.14, allocations: 0.5485 MB / 1.014 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/1.14, allocations: 0 / 1.014 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.211e-06/1.14, allocations: 0 / 1.014 GB, free: 6.105 MB / 0.6355 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.0003167/1.141, allocations: 350.9 kB / 1.014 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/1.141, allocations: 8.031 kB / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/1.141, allocations: 0 / 1.014 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/1.141, allocations: 175 kB / 1.014 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/1.141, allocations: 0 / 1.014 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/1.141, allocations: 3.938 kB / 1.014 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.353e-05/1.141, allocations: 19.75 kB / 1.014 GB, free: 5.48 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.722e-05/1.141, allocations: 57.44 kB / 1.014 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/1.141, allocations: 0 / 1.014 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/1.141, allocations: 3.984 kB / 1.014 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/1.141, allocations: 7.938 kB / 1.014 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/1.142, allocations: 243.7 kB / 1.015 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.162e-05/1.142, allocations: 22.56 kB / 1.015 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.38e-05/1.142, allocations: 8.797 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.798e-06/1.142, allocations: 4 kB / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/1.142, allocations: 30.56 kB / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/1.142, allocations: 0 / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001853/1.142, allocations: 37.64 kB / 1.015 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/1.142, allocations: 81.06 kB / 1.015 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.023e-05/1.142, allocations: 108.7 kB / 1.015 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/1.142, allocations: 25.7 kB / 1.015 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/1.142, allocations: 107.6 kB / 1.015 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.14e-06/1.142, allocations: 4.031 kB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/1.142, allocations: 0 / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.142, allocations: 314.8 kB / 1.015 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/1.142, allocations: 7.812 kB / 1.015 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.191e-05/1.142, allocations: 58.73 kB / 1.015 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.632e-05/1.142, allocations: 19.98 kB / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.142, allocations: 0 / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001345/1.143, allocations: 85.23 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/1.143, allocations: 33.7 kB / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/1.143, allocations: 0 / 1.016 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.143, allocations: 4 kB / 1.016 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-05/1.143, allocations: 23.91 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/1.143, allocations: 0 / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.71e-05/1.143, allocations: 15.8 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/1.143, allocations: 11.94 kB / 1.016 GB, free: 4.082 MB / 0.6355 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 9.095e-05/1.143, allocations: 126.8 kB / 1.016 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/1.143, allocations: 8 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.027e-05/1.143, allocations: 7.922 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/1.143, allocations: 0 / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/1.143, allocations: 1.625 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.143, allocations: 7.984 kB / 1.016 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/1.143, allocations: 134.1 kB / 1.016 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.143, allocations: 3.938 kB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/1.143, allocations: 0 / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/1.143, allocations: 3.984 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/1.143, allocations: 0 / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/1.143, allocations: 4 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.143, allocations: 3.938 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/1.143, allocations: 141.8 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/1.143, allocations: 81.09 kB / 1.016 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/1.143, allocations: 0 / 1.016 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.578e-05/1.143, allocations: 4.625 kB / 1.016 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/1.143, allocations: 0 / 1.016 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/1.143, allocations: 8.031 kB / 1.016 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.949e-05/1.144, allocations: 83.22 kB / 1.016 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.144, allocations: 0 / 1.016 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002844/1.144, allocations: 19.98 kB / 1.016 GB, free: 3.383 MB / 0.6355 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.0002085/1.144, allocations: 99.25 kB / 1.016 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001408/1.144, allocations: 79.22 kB / 1.016 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.144, allocations: 4.438 kB / 1.016 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.427e-05/1.144, allocations: 63.39 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/1.144, allocations: 4.578 kB / 1.017 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002116/1.145, allocations: 75.62 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/1.145, allocations: 0.6768 MB / 1.017 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.473e-05/1.145, allocations: 12.17 kB / 1.017 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.564e-05/1.145, allocations: 11.44 kB / 1.017 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/1.145, allocations: 64 / 1.017 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of Templates: time 0.002507/1.148, allocations: 494.4 kB / 1.018 GB, free: 1.824 MB / 0.6355 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