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.001785/0.001785, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001506/0.001506, allocations: 217.7 kB / 23.01 MB, free: 4.566 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 8.246 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.901/2.901, allocations: 476.7 MB / 0.7714 GB, free: 4.301 MB / 0.6231 GB " [Timeout remaining time 176] 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.002085/0.002085, allocations: 67.58 kB / 1.119 GB, free: 40.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.374, allocations: 170 MB / 1.285 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001843/0.3758, allocations: 0.5935 MB / 1.285 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000263/0.3761, allocations: 27.89 kB / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.175e-05/0.3761, allocations: 0 / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.077e-05/0.3761, allocations: 0 / 1.285 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.527e-05/0.3762, allocations: 11.92 kB / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.3764, allocations: 11.98 kB / 1.285 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.838e-05/0.3765, allocations: 8 kB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.454e-05/0.3765, allocations: 3.984 kB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.986e-05/0.3766, allocations: 0 / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.405e-05/0.3766, allocations: 4 kB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.3766, allocations: 4 kB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.396e-05/0.3767, allocations: 19.98 kB / 1.285 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.457e-05/0.3767, allocations: 7.938 kB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.3768, allocations: 0 / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001105/0.3769, allocations: 27.89 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3769, allocations: 0 / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3769, allocations: 4 kB / 1.285 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.3769, allocations: 0 / 1.285 GB, free: 10.43 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.0003852/0.3773, allocations: 276 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.3773, allocations: 11.97 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.3773, allocations: 12.88 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.3775, allocations: 110.5 kB / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.246e-06/0.3775, allocations: 384 / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.3775, allocations: 384 / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.3776, allocations: 58.25 kB / 1.286 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3777, allocations: 4.125 kB / 1.286 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3777, allocations: 3.938 kB / 1.286 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.826e-05/0.3777, allocations: 11.98 kB / 1.286 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.141e-05/0.3777, allocations: 23.98 kB / 1.286 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.3781, allocations: 251.8 kB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.135e-05/0.3781, allocations: 14.58 kB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.057e-05/0.3782, allocations: 8.922 kB / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.276e-06/0.3782, allocations: 0 / 1.286 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.3782, allocations: 34.55 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.3782, allocations: 0 / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001867/0.3784, allocations: 75.34 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.3784, allocations: 77.11 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.3785, allocations: 113.8 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.3786, allocations: 25.7 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.566e-05/0.3786, allocations: 107.9 kB / 1.287 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.121e-06/0.3786, allocations: 0 / 1.287 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.3787, allocations: 25.7 kB / 1.287 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.3788, allocations: 318.9 kB / 1.287 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.741e-05/0.3788, allocations: 15.98 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.337e-05/0.3789, allocations: 55 kB / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.379, allocations: 134.1 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.379, allocations: 0 / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001699/0.3792, allocations: 131.2 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.812e-05/0.3793, allocations: 29.7 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3793, allocations: 4 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3793, allocations: 0 / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.277e-05/0.3793, allocations: 12 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.3794, allocations: 4 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.851e-05/0.3794, allocations: 8 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.3794, allocations: 7.984 kB / 1.287 GB, free: 8.227 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.000118/0.3796, allocations: 151.6 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.3796, allocations: 7.953 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.593e-05/0.3796, allocations: 7.469 kB / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.3796, allocations: 0 / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3796, allocations: 0 / 1.287 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3796, allocations: 4 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.3798, allocations: 132.6 kB / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3798, allocations: 0 / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.3798, allocations: 0 / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.3798, allocations: 0 / 1.288 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.3798, allocations: 7.984 kB / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3798, allocations: 480 / 1.288 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3798, allocations: 4 kB / 1.288 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.3799, allocations: 165.1 kB / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.158e-05/0.3799, allocations: 7.938 kB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.3799, allocations: 4 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-05/0.38, allocations: 4 kB / 1.288 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.38, allocations: 8.031 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-06/0.38, allocations: 0 / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.287e-05/0.3801, allocations: 91.25 kB / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3801, allocations: 0 / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002528/0.3803, allocations: 19.94 kB / 1.288 GB, free: 7.543 MB / 0.9825 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.000166/0.3805, allocations: 99.25 kB / 1.288 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001547/0.3807, allocations: 79.7 kB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3807, allocations: 8.125 kB / 1.288 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.538e-05/0.3807, allocations: 63.33 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.3809, allocations: 2.062 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002788/0.3812, allocations: 134.6 kB / 1.288 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.3816, allocations: 0.6768 MB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/0.3816, allocations: 11.44 kB / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3816, allocations: 0 / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of Templates: time 0.002455/0.384, allocations: 0.6924 MB / 1.29 GB, free: 5.703 MB / 0.9825 GB " [Timeout remaining time 299] 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/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: 11.64290404500207]