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.001856/0.001856, allocations: 84.91 kB / 19.76 MB, free: 2.023 MB / 14.72 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.002253/0.002253, allocations: 157.1 kB / 23.01 MB, free: 4.961 MB / 14.72 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 1.398/1.398, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.606/2.606, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 65.45 kB / 0.9515 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2874, allocations: 169.9 MB / 1.117 GB, free: 2.543 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001674/0.289, allocations: 0.5942 MB / 1.118 GB, free: 1.953 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002264/0.2893, allocations: 35.89 kB / 1.118 GB, free: 1.918 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.829e-05/0.2893, allocations: 4 kB / 1.118 GB, free: 1.914 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.62e-05/0.2893, allocations: 4 kB / 1.118 GB, free: 1.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.105e-05/0.2893, allocations: 0 / 1.118 GB, free: 1.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.2895, allocations: 15.92 kB / 1.118 GB, free: 1.895 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.024e-05/0.2896, allocations: 4 kB / 1.118 GB, free: 1.891 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.2896, allocations: 3.984 kB / 1.118 GB, free: 1.887 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.84e-05/0.2897, allocations: 4 kB / 1.118 GB, free: 1.883 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.018e-05/0.2897, allocations: 3.938 kB / 1.118 GB, free: 1.879 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.2897, allocations: 0 / 1.118 GB, free: 1.879 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.653e-05/0.2898, allocations: 23.98 kB / 1.118 GB, free: 1.855 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.776e-05/0.2898, allocations: 4 kB / 1.118 GB, free: 1.852 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.2898, allocations: 7.922 kB / 1.118 GB, free: 1.844 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 9.889e-05/0.2899, allocations: 31.84 kB / 1.118 GB, free: 1.812 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2899, allocations: 0 / 1.118 GB, free: 1.812 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2899, allocations: 0 / 1.118 GB, free: 1.812 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.2899, allocations: 0 / 1.118 GB, free: 1.812 MB / 1.061 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.0003247/0.2903, allocations: 272.1 kB / 1.118 GB, free: 1.508 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.2903, allocations: 8.031 kB / 1.118 GB, free: 1.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.2903, allocations: 8.891 kB / 1.118 GB, free: 1.492 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.966e-05/0.2904, allocations: 106.5 kB / 1.119 GB, free: 1.363 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.2904, allocations: 8.312 kB / 1.119 GB, free: 1.355 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.2904, allocations: 8.312 kB / 1.119 GB, free: 1.348 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.2906, allocations: 79.95 kB / 1.119 GB, free: 1.258 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.2906, allocations: 192 / 1.119 GB, free: 1.258 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.2906, allocations: 3.938 kB / 1.119 GB, free: 1.254 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.2906, allocations: 7.984 kB / 1.119 GB, free: 1.246 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.387e-05/0.2907, allocations: 49.69 kB / 1.119 GB, free: 1.191 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.291, allocations: 220.5 kB / 1.119 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.367e-05/0.291, allocations: 48.22 kB / 1.119 GB, free: 0.8828 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.021e-05/0.2911, allocations: 30.56 kB / 1.119 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.2911, allocations: 4 kB / 1.119 GB, free: 0.8398 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.2911, allocations: 38.61 kB / 1.119 GB, free: 0.793 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.2911, allocations: 0 / 1.119 GB, free: 0.793 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001822/0.2913, allocations: 118.8 kB / 1.119 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.2913, allocations: 77.11 kB / 1.119 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.2914, allocations: 129.9 kB / 1.119 GB, free: 432 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.2915, allocations: 25.7 kB / 1.119 GB, free: 400 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.934e-05/0.2915, allocations: 96 kB / 1.119 GB, free: 300 kB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.59e-06/0.2915, allocations: 0 / 1.119 GB, free: 300 kB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.2916, allocations: 33.66 kB / 1.12 GB, free: 260 kB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2917, allocations: 318.9 kB / 1.12 GB, free: 15.93 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.399e-05/0.2918, allocations: 41.69 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.039e-05/0.2918, allocations: 92.62 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.292, allocations: 126.1 kB / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.292, allocations: 0 / 1.12 GB, free: 15.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001726/0.2921, allocations: 148.9 kB / 1.12 GB, free: 15.44 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.2922, allocations: 33.7 kB / 1.12 GB, free: 15.4 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2922, allocations: 3.938 kB / 1.12 GB, free: 15.4 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.2922, allocations: 4 kB / 1.12 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.311e-05/0.2923, allocations: 11.98 kB / 1.12 GB, free: 15.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.2923, allocations: 4 kB / 1.12 GB, free: 15.38 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.679e-05/0.2923, allocations: 12.14 kB / 1.12 GB, free: 15.37 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.2924, allocations: 12 kB / 1.12 GB, free: 15.36 MB / 1.076 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 9.783e-05/0.2925, allocations: 147.4 kB / 1.12 GB, free: 15.2 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.2925, allocations: 3.938 kB / 1.12 GB, free: 15.19 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.202e-05/0.2925, allocations: 11.45 kB / 1.12 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2925, allocations: 3.938 kB / 1.12 GB, free: 15.18 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2925, allocations: 4 kB / 1.12 GB, free: 15.17 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-06/0.2925, allocations: 0 / 1.12 GB, free: 15.17 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.2926, allocations: 105.3 kB / 1.121 GB, free: 15.04 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2926, allocations: 3.984 kB / 1.121 GB, free: 15.04 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.264e-06/0.2926, allocations: 4 kB / 1.121 GB, free: 15.03 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.2926, allocations: 4 kB / 1.121 GB, free: 15.03 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.2926, allocations: 0 / 1.121 GB, free: 15.03 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.2926, allocations: 0 / 1.121 GB, free: 15.03 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2926, allocations: 0 / 1.121 GB, free: 15.03 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.2928, allocations: 198.8 kB / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-06/0.2928, allocations: 0 / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.348e-06/0.2928, allocations: 0 / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.07e-05/0.2929, allocations: 4 kB / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.2929, allocations: 3.938 kB / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.2929, allocations: 0 / 1.121 GB, free: 14.8 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.525e-05/0.2929, allocations: 95.3 kB / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.2929, allocations: 0 / 1.121 GB, free: 14.7 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002594/0.2932, allocations: 12 kB / 1.121 GB, free: 14.69 MB / 1.076 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.0001398/0.2933, allocations: 107.2 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001639/0.2935, allocations: 142.7 kB / 1.121 GB, free: 14.41 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2935, allocations: 0 / 1.121 GB, free: 14.41 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 5.314e-05/0.2936, allocations: 81.61 kB / 1.121 GB, free: 14.31 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.2938, allocations: 12 kB / 1.121 GB, free: 14.3 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002197/0.294, allocations: 134.3 kB / 1.121 GB, free: 14.14 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.983e-05/0.2941, allocations: 59.34 kB / 1.121 GB, free: 14.06 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.79e-05/0.2941, allocations: 15.97 kB / 1.121 GB, free: 14.05 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.231e-05/0.2941, allocations: 8.5 kB / 1.121 GB, free: 14.04 MB / 1.076 GB Notification: Performance of SimCode: time 3.21e-07/0.2941, allocations: 3.938 kB / 1.121 GB, free: 14.04 MB / 1.076 GB Notification: Performance of Templates: time 0.002824/0.2969, allocations: 0.5393 MB / 1.122 GB, free: 13.5 MB / 1.076 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.96645492897369]