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.001828/0.001828, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002526/0.002526, allocations: 210.2 kB / 22.24 MB, free: 5.262 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.638/1.638, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.823/2.823, allocations: 475.9 MB / 0.7699 GB, free: 4.77 MB / 0.6231 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.002184/0.002184, allocations: 65.8 kB / 1.117 GB, free: 8.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3777, allocations: 169.9 MB / 1.283 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002036/0.3797, allocations: 0.6031 MB / 1.284 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0003079/0.38, allocations: 39.83 kB / 1.284 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.263e-05/0.3801, allocations: 0 / 1.284 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.64e-05/0.3801, allocations: 0 / 1.284 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.89e-05/0.3801, allocations: 4 kB / 1.284 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.3804, allocations: 7.984 kB / 1.284 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.91e-05/0.3805, allocations: 11.94 kB / 1.284 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.3805, allocations: 0 / 1.284 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.476e-05/0.3805, allocations: 4 kB / 1.284 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.683e-05/0.3806, allocations: 0 / 1.284 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.3806, allocations: 0 / 1.284 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.807e-05/0.3807, allocations: 19.97 kB / 1.284 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.06e-05/0.3807, allocations: 11.94 kB / 1.284 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.664e-05/0.3808, allocations: 7.922 kB / 1.284 GB, free: 3 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.3809, allocations: 23.86 kB / 1.284 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.3809, allocations: 8 kB / 1.284 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3809, allocations: 0 / 1.284 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.3809, allocations: 0 / 1.284 GB, free: 2.969 MB / 0.9825 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.0003887/0.3813, allocations: 268.5 kB / 1.284 GB, free: 2.668 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3813, allocations: 12.03 kB / 1.284 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.3814, allocations: 4.891 kB / 1.284 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.222e-05/0.3815, allocations: 106.5 kB / 1.284 GB, free: 2.523 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.3815, allocations: 4.375 kB / 1.284 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.3815, allocations: 384 / 1.284 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.3817, allocations: 83.95 kB / 1.284 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3817, allocations: 4.188 kB / 1.284 GB, free: 2.422 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.3817, allocations: 3.938 kB / 1.284 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.281e-05/0.3817, allocations: 11.94 kB / 1.284 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.095e-05/0.3818, allocations: 53.67 kB / 1.284 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.3822, allocations: 220.4 kB / 1.285 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.221e-05/0.3823, allocations: 48.28 kB / 1.285 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.827e-05/0.3823, allocations: 34.62 kB / 1.285 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.3823, allocations: 0 / 1.285 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.3823, allocations: 30.56 kB / 1.285 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.3823, allocations: 3.938 kB / 1.285 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0002274/0.3826, allocations: 126.8 kB / 1.285 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.167e-05/0.3826, allocations: 77.11 kB / 1.285 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.3827, allocations: 109.8 kB / 1.285 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3827, allocations: 29.7 kB / 1.285 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.697e-05/0.3828, allocations: 107.9 kB / 1.285 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.488e-06/0.3828, allocations: 4 kB / 1.285 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.858e-05/0.3829, allocations: 29.61 kB / 1.285 GB, free: 1.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.383, allocations: 322.8 kB / 1.285 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.613e-05/0.3831, allocations: 33.7 kB / 1.285 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.221e-05/0.3831, allocations: 92.44 kB / 1.286 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.3833, allocations: 130.3 kB / 1.286 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3833, allocations: 0 / 1.286 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001885/0.3835, allocations: 149 kB / 1.286 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.3835, allocations: 37.69 kB / 1.286 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3835, allocations: 0 / 1.286 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.3835, allocations: 4 kB / 1.286 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.755e-05/0.3836, allocations: 15.94 kB / 1.286 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.3836, allocations: 0 / 1.286 GB, free: 0.5352 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.979e-05/0.3837, allocations: 11.89 kB / 1.286 GB, free: 0.5234 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.3837, allocations: 8 kB / 1.286 GB, free: 0.5156 MB / 0.9825 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.0001158/0.3838, allocations: 147.5 kB / 1.286 GB, free: 364 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.3838, allocations: 12.14 kB / 1.286 GB, free: 352 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.414e-05/0.3839, allocations: 3.469 kB / 1.286 GB, free: 348 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3839, allocations: 0 / 1.286 GB, free: 348 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3839, allocations: 4 kB / 1.286 GB, free: 344 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3839, allocations: 0 / 1.286 GB, free: 344 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.384, allocations: 113.2 kB / 1.286 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.384, allocations: 0 / 1.286 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.384, allocations: 0 / 1.286 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.384, allocations: 0 / 1.286 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.384, allocations: 0 / 1.286 GB, free: 200 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.384, allocations: 3.938 kB / 1.286 GB, free: 196 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.384, allocations: 4 kB / 1.286 GB, free: 192 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001807/0.3842, allocations: 194.9 kB / 1.286 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.06e-05/0.3842, allocations: 3.953 kB / 1.286 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/0.3842, allocations: 3.984 kB / 1.286 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.994e-05/0.3843, allocations: 4 kB / 1.286 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.3843, allocations: 0 / 1.286 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.3843, allocations: 4 kB / 1.286 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.954e-05/0.3844, allocations: 91.33 kB / 1.286 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3844, allocations: 4 kB / 1.286 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002647/0.3846, allocations: 8 kB / 1.286 GB, free: 15.85 MB / 0.9981 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.0001766/0.3848, allocations: 103.3 kB / 1.287 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001883/0.385, allocations: 138.7 kB / 1.287 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.385, allocations: 3.938 kB / 1.287 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.776e-05/0.3851, allocations: 89.09 kB / 1.287 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.3853, allocations: 7.938 kB / 1.287 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.3856, allocations: 138.5 kB / 1.287 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.645e-05/0.3857, allocations: 59.91 kB / 1.287 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001031/0.3858, allocations: 15.98 kB / 1.287 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.694e-05/0.3858, allocations: 7.438 kB / 1.287 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of SimCode: time 4.1e-07/0.3858, allocations: 4 kB / 1.287 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of Templates: time 0.003227/0.389, allocations: 0.5417 MB / 1.287 GB, free: 14.66 MB / 0.9981 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 -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/jenkins/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: 8.865616904571652]