Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 120.3 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002331/0.002331, allocations: 193.2 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.687/2.687, allocations: 443.5 MB / 0.7293 GB, free: 14.51 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 67.89 kB / 1.057 GB, free: 1.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3243, allocations: 160.7 MB / 1.214 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002021/0.3263, allocations: 0.5844 MB / 1.215 GB, free: 280 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002943/0.3266, allocations: 43.86 kB / 1.215 GB, free: 236 kB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.153e-05/0.3266, allocations: 0 / 1.215 GB, free: 236 kB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.376e-05/0.3267, allocations: 0 / 1.215 GB, free: 236 kB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.497e-05/0.3267, allocations: 0 / 1.215 GB, free: 236 kB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.3269, allocations: 8 kB / 1.215 GB, free: 228 kB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.596e-05/0.327, allocations: 11.98 kB / 1.215 GB, free: 216 kB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.847e-05/0.3271, allocations: 4 kB / 1.215 GB, free: 212 kB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.241e-05/0.3271, allocations: 8 kB / 1.215 GB, free: 204 kB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.229e-05/0.3271, allocations: 3.938 kB / 1.215 GB, free: 200 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.3272, allocations: 0 / 1.215 GB, free: 200 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.27e-05/0.3272, allocations: 19.98 kB / 1.215 GB, free: 180 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.719e-05/0.3273, allocations: 4 kB / 1.215 GB, free: 176 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.3273, allocations: 7.922 kB / 1.215 GB, free: 168 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.3274, allocations: 35.78 kB / 1.215 GB, free: 132 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3274, allocations: 0 / 1.215 GB, free: 132 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3274, allocations: 0 / 1.215 GB, free: 132 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.3275, allocations: 0 / 1.215 GB, free: 132 kB / 0.9512 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.0004769/0.3279, allocations: 357.2 kB / 1.215 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.328, allocations: 8.031 kB / 1.215 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.328, allocations: 4.938 kB / 1.215 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.3282, allocations: 160.4 kB / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3282, allocations: 384 / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.3282, allocations: 384 / 1.215 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.3283, allocations: 58.23 kB / 1.215 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3284, allocations: 8.172 kB / 1.215 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3284, allocations: 3.938 kB / 1.215 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/0.3284, allocations: 4 kB / 1.215 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.854e-05/0.3285, allocations: 31.92 kB / 1.215 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.3289, allocations: 272.7 kB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.595e-05/0.3289, allocations: 18.58 kB / 1.216 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/0.3289, allocations: 4.859 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.647e-06/0.3289, allocations: 4.062 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.329, allocations: 30.56 kB / 1.216 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/0.329, allocations: 4 kB / 1.216 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0002092/0.3292, allocations: 75.27 kB / 1.216 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.3292, allocations: 81.11 kB / 1.216 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.3294, allocations: 113.8 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.3294, allocations: 25.7 kB / 1.216 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.302e-05/0.3295, allocations: 107.9 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.737e-06/0.3295, allocations: 3.953 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.3295, allocations: 21.84 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3297, allocations: 318.8 kB / 1.216 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.858e-05/0.3297, allocations: 15.98 kB / 1.216 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.881e-05/0.3298, allocations: 62.8 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.3299, allocations: 126.2 kB / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3299, allocations: 0 / 1.217 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001614/0.3301, allocations: 123.2 kB / 1.217 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.745e-05/0.3301, allocations: 31.58 kB / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.3301, allocations: 7.938 kB / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.3301, allocations: 0 / 1.217 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.313e-05/0.3302, allocations: 15.98 kB / 1.217 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3302, allocations: 3.938 kB / 1.217 GB, free: 13.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.989e-05/0.3303, allocations: 11.95 kB / 1.217 GB, free: 13.74 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.3303, allocations: 12.25 kB / 1.217 GB, free: 13.73 MB / 0.9669 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 0.0001227/0.3304, allocations: 147.4 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.3305, allocations: 4 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.569e-05/0.3305, allocations: 7.531 kB / 1.217 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.3305, allocations: 0 / 1.217 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-06/0.3305, allocations: 0 / 1.217 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3305, allocations: 0 / 1.217 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.3307, allocations: 161.6 kB / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3307, allocations: 0 / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.3307, allocations: 0 / 1.217 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.3307, allocations: 4 kB / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.3307, allocations: 0 / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.3307, allocations: 0 / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3307, allocations: 0 / 1.217 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.3308, allocations: 173.1 kB / 1.217 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.948e-05/0.3309, allocations: 81.11 kB / 1.217 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.3309, allocations: 0 / 1.217 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.634e-05/0.3309, allocations: 4.031 kB / 1.217 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.331, allocations: 3.984 kB / 1.217 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.331, allocations: 4 kB / 1.217 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.59e-05/0.331, allocations: 87.28 kB / 1.217 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.331, allocations: 0 / 1.217 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002475/0.3313, allocations: 11.94 kB / 1.218 GB, free: 12.95 MB / 0.9669 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.0001807/0.3314, allocations: 117.8 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001587/0.3316, allocations: 95.33 kB / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3316, allocations: 0 / 1.218 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.06e-05/0.3317, allocations: 55.41 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.3319, allocations: 4 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/0.3321, allocations: 134.6 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.3325, allocations: 0.6807 MB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.435e-05/0.3325, allocations: 11.38 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of SimCode: time 3.21e-07/0.3325, allocations: 0.5 kB / 1.219 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of Templates: time 0.002505/0.335, allocations: 0.6751 MB / 1.219 GB, free: 11.09 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.896808587945998]