Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 71.75 kB / 20.97 MB, free: 3.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 169.3 kB / 24.28 MB, free: 284 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9819/0.9819, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.784/1.784, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.917e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001262/0.001291, allocations: 0.6012 MB / 0.7877 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001861/0.001477, allocations: 36.8 kB / 0.7878 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.68e-05/0.001504, allocations: 0 / 0.7878 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.362e-05/0.001538, allocations: 0.9375 kB / 0.7878 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.268e-05/0.00157, allocations: 0 / 0.7878 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.001761, allocations: 17.08 kB / 0.7878 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.92e-05/0.00183, allocations: 7.938 kB / 0.7878 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.558e-05/0.001866, allocations: 0 / 0.7878 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.221e-05/0.001898, allocations: 8.547 kB / 0.7878 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.11e-05/0.001939, allocations: 4.891 kB / 0.7878 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.001953, allocations: 0 / 0.7878 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.593e-05/0.002019, allocations: 15.98 kB / 0.7878 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.002044, allocations: 4.656 kB / 0.7878 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.964e-05/0.002064, allocations: 4.938 kB / 0.7878 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.896e-05/0.002162, allocations: 31.84 kB / 0.7879 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.002164, allocations: 0 / 0.7879 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.12e-07/0.002165, allocations: 1.625 kB / 0.7879 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.002171, allocations: 0 / 0.7879 GB, free: 12.05 MB / 0.7448 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.0002944/0.002466, allocations: 386 kB / 0.7882 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.002499, allocations: 8.031 kB / 0.7882 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.002536, allocations: 2.156 kB / 0.7882 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.266e-05/0.002598, allocations: 108.6 kB / 0.7883 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.002609, allocations: 384 / 0.7883 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.002617, allocations: 384 / 0.7883 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.002726, allocations: 72.58 kB / 0.7884 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.002733, allocations: 1.781 kB / 0.7884 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.002742, allocations: 4.359 kB / 0.7884 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-05/0.002776, allocations: 8.375 kB / 0.7884 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.344e-05/0.002809, allocations: 45.62 kB / 0.7885 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002682/0.003077, allocations: 264 kB / 0.7887 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.622e-05/0.003143, allocations: 68.17 kB / 0.7888 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.414e-05/0.003168, allocations: 33.39 kB / 0.7888 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.501e-06/0.003173, allocations: 4.062 kB / 0.7888 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.0032, allocations: 33.39 kB / 0.7889 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.693e-06/0.003202, allocations: 0 / 0.7889 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001685/0.003371, allocations: 126.8 kB / 0.789 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.003405, allocations: 77.11 kB / 0.789 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.452e-05/0.003489, allocations: 169.9 kB / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.003499, allocations: 26.36 kB / 0.7892 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.003552, allocations: 166.6 kB / 0.7894 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-06/0.003557, allocations: 1.656 kB / 0.7894 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.003588, allocations: 31.38 kB / 0.7894 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.003697, allocations: 0.4922 MB / 0.7899 GB, free: 9.707 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.723e-05/0.003725, allocations: 29.7 kB / 0.7899 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.018e-05/0.003775, allocations: 104.4 kB / 0.79 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.036e-05/0.003855, allocations: 147.2 kB / 0.7902 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.003857, allocations: 0.6562 kB / 0.7902 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001134/0.003971, allocations: 150.8 kB / 0.7903 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.003998, allocations: 33.7 kB / 0.7904 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.004003, allocations: 1.969 kB / 0.7904 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.004017, allocations: 4 kB / 0.7904 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.543e-05/0.004082, allocations: 11.98 kB / 0.7904 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.004093, allocations: 11.98 kB / 0.7904 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.281e-05/0.004146, allocations: 4 kB / 0.7904 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.004162, allocations: 8.625 kB / 0.7904 GB, free: 9.102 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.6e-05/0.004248, allocations: 190.8 kB / 0.7906 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.004268, allocations: 11.89 kB / 0.7906 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.166e-05/0.00428, allocations: 7.953 kB / 0.7906 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.004281, allocations: 1.188 kB / 0.7906 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.004284, allocations: 4 kB / 0.7906 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.004287, allocations: 0 / 0.7906 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.737e-05/0.004374, allocations: 113.2 kB / 0.7907 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.004375, allocations: 0 / 0.7907 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.713e-06/0.004377, allocations: 5.156 kB / 0.7907 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.004379, allocations: 0 / 0.7907 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.004387, allocations: 3.984 kB / 0.7907 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.004388, allocations: 5.031 kB / 0.7907 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.004389, allocations: 0 / 0.7907 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.004509, allocations: 244.3 kB / 0.791 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.839e-06/0.004519, allocations: 7.938 kB / 0.791 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.377e-06/0.004529, allocations: 0 / 0.791 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.374e-05/0.004562, allocations: 0.7188 kB / 0.791 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.004574, allocations: 0 / 0.791 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.004578, allocations: 5.031 kB / 0.791 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.951e-05/0.004618, allocations: 131.2 kB / 0.7911 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.004618, allocations: 0 / 0.7911 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001642/0.004782, allocations: 13.12 kB / 0.7911 GB, free: 8.301 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001368/0.004919, allocations: 104 kB / 0.7912 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001352/0.005054, allocations: 144.6 kB / 0.7913 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.005056, allocations: 0 / 0.7913 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.978e-05/0.005085, allocations: 96.78 kB / 0.7914 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001479/0.005233, allocations: 6.062 kB / 0.7914 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000214/0.005447, allocations: 147.3 kB / 0.7916 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.204e-05/0.005479, allocations: 55.36 kB / 0.7916 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.874e-05/0.005518, allocations: 11.97 kB / 0.7916 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.338e-05/0.005531, allocations: 8.5 kB / 0.7917 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of SimCode: time 8.92e-07/0.005532, allocations: 1.562 kB / 0.7917 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of Templates: time 0.002304/0.007836, allocations: 0.5702 MB / 0.7922 GB, free: 7.094 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.050908911973238]