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.001849/0.001849, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.002046/0.002046, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 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.593/1.593, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.884/2.884, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.899e-05/3.078e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001676/0.001707, allocations: 0.5955 MB / 0.787 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000239/0.001946, allocations: 40.56 kB / 0.7871 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.92e-05/0.001965, allocations: 0 / 0.7871 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.238e-05/0.002007, allocations: 1.156 kB / 0.7871 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.236e-05/0.00204, allocations: 0 / 0.7871 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.002245, allocations: 20.89 kB / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.162e-05/0.002306, allocations: 0 / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.002345, allocations: 4 kB / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.672e-05/0.002382, allocations: 4.562 kB / 0.7871 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.087e-05/0.002423, allocations: 4.672 kB / 0.7871 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.002438, allocations: 0 / 0.7871 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.145e-05/0.00252, allocations: 24.88 kB / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.722e-05/0.002547, allocations: 3.938 kB / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.281e-05/0.00258, allocations: 4 kB / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.002687, allocations: 24.56 kB / 0.7871 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.00269, allocations: 0 / 0.7871 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.52e-07/0.00269, allocations: 1.656 kB / 0.7871 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.002694, allocations: 4 kB / 0.7871 GB, free: 12.04 MB / 0.7448 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.0004365/0.003131, allocations: 378 kB / 0.7875 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.003171, allocations: 8.031 kB / 0.7875 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.003212, allocations: 6.531 kB / 0.7875 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.447e-05/0.003307, allocations: 104.6 kB / 0.7876 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/0.00332, allocations: 8.25 kB / 0.7876 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.003331, allocations: 4.375 kB / 0.7876 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.003466, allocations: 75.41 kB / 0.7877 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.003474, allocations: 192 / 0.7877 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-06/0.003481, allocations: 384 / 0.7877 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.48e-05/0.003516, allocations: 8.375 kB / 0.7877 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.931e-05/0.003575, allocations: 41.62 kB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.00397, allocations: 259.8 kB / 0.788 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.889e-05/0.004059, allocations: 64.62 kB / 0.7881 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.362e-05/0.004102, allocations: 41.45 kB / 0.7881 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.004109, allocations: 0 / 0.7881 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.004144, allocations: 34.11 kB / 0.7881 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.004145, allocations: 0 / 0.7881 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0002382/0.004383, allocations: 123.4 kB / 0.7883 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.615e-05/0.004469, allocations: 89.58 kB / 0.7883 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.00462, allocations: 170.6 kB / 0.7885 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.004643, allocations: 29.7 kB / 0.7885 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.004745, allocations: 151.6 kB / 0.7887 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.278e-05/0.004758, allocations: 7.984 kB / 0.7887 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.897e-05/0.004807, allocations: 27.38 kB / 0.7887 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002767/0.005083, allocations: 496.7 kB / 0.7892 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.261e-05/0.005126, allocations: 35.06 kB / 0.7892 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.005239, allocations: 107.6 kB / 0.7893 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.0054, allocations: 151.4 kB / 0.7895 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.005403, allocations: 0 / 0.7895 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001991/0.005602, allocations: 154.7 kB / 0.7896 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.358e-05/0.005635, allocations: 31.05 kB / 0.7896 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.005644, allocations: 4 kB / 0.7896 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.005657, allocations: 0 / 0.7896 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.645e-05/0.005723, allocations: 12 kB / 0.7897 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.005732, allocations: 7.188 kB / 0.7897 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.434e-05/0.005796, allocations: 11.98 kB / 0.7897 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.005814, allocations: 7.984 kB / 0.7897 GB, free: 9.094 MB / 0.7448 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.0001413/0.005956, allocations: 190.2 kB / 0.7899 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.125e-05/0.005987, allocations: 11.89 kB / 0.7899 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.158e-05/0.005998, allocations: 7.469 kB / 0.7899 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.006, allocations: 3.938 kB / 0.7899 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.006003, allocations: 1.344 kB / 0.7899 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.006005, allocations: 0 / 0.7899 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.006185, allocations: 120.6 kB / 0.79 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.006186, allocations: 0 / 0.79 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.895e-06/0.006189, allocations: 4.562 kB / 0.79 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.00619, allocations: 0 / 0.79 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.006197, allocations: 0.5625 kB / 0.79 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.006198, allocations: 0.875 kB / 0.79 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.006199, allocations: 0 / 0.79 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.006428, allocations: 248.3 kB / 0.7902 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.24e-05/0.006441, allocations: 7.938 kB / 0.7903 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.006453, allocations: 0 / 0.7903 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.805e-05/0.006511, allocations: 8.984 kB / 0.7903 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.006526, allocations: 0 / 0.7903 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.006533, allocations: 4 kB / 0.7903 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.67e-05/0.00661, allocations: 124.8 kB / 0.7904 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.00661, allocations: 0 / 0.7904 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002348/0.006845, allocations: 12 kB / 0.7904 GB, free: 8.289 MB / 0.7448 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.007021, allocations: 107.8 kB / 0.7905 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.007236, allocations: 144.2 kB / 0.7906 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.007237, allocations: 0 / 0.7906 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.683e-05/0.007334, allocations: 93.95 kB / 0.7907 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.007536, allocations: 12.08 kB / 0.7907 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.007809, allocations: 137.4 kB / 0.7909 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.531e-05/0.007885, allocations: 63.34 kB / 0.7909 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.715e-05/0.007932, allocations: 14.19 kB / 0.7909 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.796e-05/0.00795, allocations: 12.5 kB / 0.791 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.00795, allocations: 0 / 0.791 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of Templates: time 0.003384/0.01133, allocations: 0.563 MB / 0.7915 GB, free: 7.078 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] 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: 7.898407455068082]