Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001682/0.001682, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002063/0.002063, allocations: 216.9 kB / 22.99 MB, free: 4.945 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.195/3.195, allocations: 0.5107 GB / 0.8166 GB, free: 17.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002043/0.002043, allocations: 69.67 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3319, allocations: 181.9 MB / 1.365 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002046/0.3339, allocations: 0.5981 MB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000258/0.3342, allocations: 27.89 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.955e-05/0.3342, allocations: 0 / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.836e-05/0.3342, allocations: 0 / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.233e-05/0.3343, allocations: 4 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.3345, allocations: 15.98 kB / 1.365 GB, free: 12.84 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.047e-05/0.3346, allocations: 11.94 kB / 1.365 GB, free: 12.83 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.108e-05/0.3346, allocations: 7.922 kB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.138e-05/0.3346, allocations: 7.969 kB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.263e-05/0.3347, allocations: 4 kB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.3347, allocations: 0 / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.3348, allocations: 19.98 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.037e-05/0.3348, allocations: 3.938 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.442e-05/0.3349, allocations: 4 kB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.335, allocations: 27.84 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.335, allocations: 0 / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.432e-06/0.335, allocations: 4 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.335, allocations: 0 / 1.365 GB, free: 12.75 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.0003484/0.3353, allocations: 276.5 kB / 1.366 GB, free: 12.44 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.3354, allocations: 8.031 kB / 1.366 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.3354, allocations: 0.9375 kB / 1.366 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.3355, allocations: 110.5 kB / 1.366 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.3355, allocations: 4.359 kB / 1.366 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.3355, allocations: 384 / 1.366 GB, free: 12.3 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.3357, allocations: 91.89 kB / 1.366 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.3357, allocations: 192 / 1.366 GB, free: 12.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3357, allocations: 3.938 kB / 1.366 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/0.3357, allocations: 11.98 kB / 1.366 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.91e-05/0.3358, allocations: 49.69 kB / 1.366 GB, free: 12.12 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.3362, allocations: 216.5 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 8.253e-05/0.3363, allocations: 52.22 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.608e-05/0.3363, allocations: 34.5 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.193e-06/0.3363, allocations: 0 / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.3363, allocations: 34.62 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3363, allocations: 0 / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0002298/0.3366, allocations: 122.8 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.3366, allocations: 85.23 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.3368, allocations: 109.8 kB / 1.367 GB, free: 11.37 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.3368, allocations: 25.7 kB / 1.367 GB, free: 11.34 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.027e-05/0.3369, allocations: 107.9 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.037e-05/0.3369, allocations: 4.031 kB / 1.367 GB, free: 11.22 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.3369, allocations: 25.7 kB / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3371, allocations: 322.8 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.123e-05/0.3371, allocations: 37.64 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.187e-05/0.3372, allocations: 84.56 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.3374, allocations: 134.1 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.3374, allocations: 4 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000188/0.3376, allocations: 145.1 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.3376, allocations: 39.58 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3376, allocations: 4 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3376, allocations: 8 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.3377, allocations: 15.94 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3377, allocations: 4 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.515e-05/0.3378, allocations: 11.92 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.3378, allocations: 4 kB / 1.367 GB, free: 10.29 MB / 1.061 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.0001171/0.3379, allocations: 148.6 kB / 1.368 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.3379, allocations: 3.953 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.762e-05/0.3379, allocations: 11.47 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.3379, allocations: 3.984 kB / 1.368 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.338, allocations: 3.938 kB / 1.368 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.338, allocations: 0 / 1.368 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001283/0.3381, allocations: 101.3 kB / 1.368 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3381, allocations: 0 / 1.368 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.3381, allocations: 0 / 1.368 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3381, allocations: 0 / 1.368 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.3381, allocations: 4 kB / 1.368 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.3381, allocations: 7.922 kB / 1.368 GB, free: 9.957 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3381, allocations: 0 / 1.368 GB, free: 9.957 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001614/0.3383, allocations: 194.9 kB / 1.368 GB, free: 9.738 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.229e-05/0.3383, allocations: 7.984 kB / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.3383, allocations: 0 / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.733e-05/0.3383, allocations: 0 / 1.368 GB, free: 9.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.668e-05/0.3384, allocations: 4 kB / 1.368 GB, free: 9.727 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.3384, allocations: 0 / 1.368 GB, free: 9.727 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001078/0.3385, allocations: 91.73 kB / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3385, allocations: 0 / 1.368 GB, free: 9.637 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002471/0.3387, allocations: 8 kB / 1.368 GB, free: 9.629 MB / 1.061 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.0001678/0.3389, allocations: 107.2 kB / 1.368 GB, free: 9.516 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002251/0.3391, allocations: 138.7 kB / 1.368 GB, free: 9.355 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3391, allocations: 0 / 1.368 GB, free: 9.355 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.316e-05/0.3392, allocations: 81.11 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.3394, allocations: 11.94 kB / 1.368 GB, free: 9.246 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.3397, allocations: 156.3 kB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.068e-05/0.3398, allocations: 63.58 kB / 1.369 GB, free: 8.973 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.535e-05/0.3398, allocations: 8 kB / 1.369 GB, free: 8.965 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3398, allocations: 4 kB / 1.369 GB, free: 8.961 MB / 1.061 GB Notification: Performance of Templates: time 0.002339/0.3421, allocations: 0.6979 MB / 1.369 GB, free: 8.266 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.165738564915955]