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.00101/0.00101, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001022/0.001022, allocations: 170 kB / 24.86 MB, free: 8.836 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.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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 1.719/1.719, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] 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.823e-06/1.823e-06, allocations: 3.938 kB / 0.7884 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.165e-05/1.347e-05, allocations: 4.562 kB / 0.7884 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0009925/0.001006, allocations: 0.6019 MB / 0.789 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001605/0.001166, allocations: 33.11 kB / 0.789 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.022e-05/0.001187, allocations: 0 / 0.789 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.577e-05/0.001222, allocations: 3.938 kB / 0.789 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.535e-05/0.001258, allocations: 4.688 kB / 0.789 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.001442, allocations: 12.88 kB / 0.789 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.631e-05/0.001508, allocations: 11.94 kB / 0.789 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.43e-05/0.001543, allocations: 4.641 kB / 0.789 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.112e-05/0.001574, allocations: 4 kB / 0.789 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.982e-05/0.001614, allocations: 1.594 kB / 0.789 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.001626, allocations: 0 / 0.789 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.966e-05/0.001696, allocations: 15.98 kB / 0.789 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.582e-05/0.001722, allocations: 4 kB / 0.789 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.538e-05/0.001737, allocations: 7.438 kB / 0.7891 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.375e-05/0.001821, allocations: 31.89 kB / 0.7891 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.001823, allocations: 0 / 0.7891 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.51e-07/0.001823, allocations: 0 / 0.7891 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.001827, allocations: 0 / 0.7891 GB, free: 11.41 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.0002451/0.002072, allocations: 378 kB / 0.7894 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.002101, allocations: 12.03 kB / 0.7895 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.002125, allocations: 0.9375 kB / 0.7895 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.181e-05/0.002177, allocations: 112.6 kB / 0.7896 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.002186, allocations: 1.094 kB / 0.7896 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.33e-06/0.002191, allocations: 384 / 0.7896 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.465e-05/0.002266, allocations: 69.61 kB / 0.7896 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-06/0.002271, allocations: 192 / 0.7896 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-06/0.002276, allocations: 4.375 kB / 0.7896 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.002298, allocations: 8.359 kB / 0.7896 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.385e-05/0.002322, allocations: 37.64 kB / 0.7897 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002895/0.002611, allocations: 257.6 kB / 0.7899 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.733e-05/0.002648, allocations: 48.77 kB / 0.79 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.481e-05/0.002663, allocations: 38.36 kB / 0.79 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-06/0.002667, allocations: 3.938 kB / 0.79 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.002684, allocations: 38.73 kB / 0.7901 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.002685, allocations: 0 / 0.7901 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001194/0.002805, allocations: 122.7 kB / 0.7902 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.002836, allocations: 82.08 kB / 0.7902 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.509e-05/0.002901, allocations: 174 kB / 0.7904 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.00291, allocations: 25.7 kB / 0.7904 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.782e-05/0.002958, allocations: 159.6 kB / 0.7906 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-06/0.002962, allocations: 0 / 0.7906 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.002989, allocations: 32.45 kB / 0.7906 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.952e-05/0.003088, allocations: 496.1 kB / 0.7911 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.499e-05/0.003103, allocations: 37.62 kB / 0.7911 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.385e-05/0.003147, allocations: 104.7 kB / 0.7912 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.229e-05/0.003219, allocations: 142.4 kB / 0.7914 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.003221, allocations: 0.7812 kB / 0.7914 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001108/0.003332, allocations: 150.2 kB / 0.7915 GB, free: 8.582 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.003353, allocations: 31.08 kB / 0.7915 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.003358, allocations: 4 kB / 0.7915 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/0.003365, allocations: 0 / 0.7915 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.389e-05/0.003409, allocations: 12 kB / 0.7916 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.003416, allocations: 13.2 kB / 0.7916 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.534e-05/0.003461, allocations: 12 kB / 0.7916 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.003471, allocations: 4 kB / 0.7916 GB, free: 8.504 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 6.698e-05/0.003538, allocations: 186.9 kB / 0.7918 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.832e-05/0.003556, allocations: 12.61 kB / 0.7918 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.747e-06/0.003565, allocations: 3.469 kB / 0.7918 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.003567, allocations: 0.8125 kB / 0.7918 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.003568, allocations: 0 / 0.7918 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.003571, allocations: 0.9375 kB / 0.7918 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.177e-05/0.003653, allocations: 105.2 kB / 0.7919 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.003654, allocations: 0 / 0.7919 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-07/0.003654, allocations: 1.219 kB / 0.7919 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.01e-07/0.003655, allocations: 0 / 0.7919 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.003661, allocations: 7.938 kB / 0.7919 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.003662, allocations: 0.8438 kB / 0.7919 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.003662, allocations: 0 / 0.7919 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.915e-05/0.003762, allocations: 241.5 kB / 0.7921 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.567e-06/0.00377, allocations: 4 kB / 0.7921 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.335e-06/0.003778, allocations: 3.938 kB / 0.7921 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.973e-05/0.003808, allocations: 0 / 0.7921 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.15e-05/0.00382, allocations: 7.984 kB / 0.7921 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.003824, allocations: 3.984 kB / 0.7921 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.51e-05/0.003859, allocations: 130.8 kB / 0.7923 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.003859, allocations: 0 / 0.7923 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001646/0.004024, allocations: 12 kB / 0.7923 GB, free: 7.734 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 9.998e-05/0.004124, allocations: 103.2 kB / 0.7924 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.004234, allocations: 155.8 kB / 0.7925 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.004235, allocations: 0 / 0.7925 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.228e-05/0.004268, allocations: 88.8 kB / 0.7926 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.004396, allocations: 0.625 kB / 0.7926 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001561/0.004552, allocations: 145.2 kB / 0.7927 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.922e-05/0.004581, allocations: 56.69 kB / 0.7928 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.033e-05/0.004602, allocations: 5.094 kB / 0.7928 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.004645, allocations: 74.86 kB / 0.7929 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of SimCode: time 3.81e-07/0.004645, allocations: 1.531 kB / 0.7929 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of Templates: time 0.001896/0.006541, allocations: 0.6085 MB / 0.7935 GB, free: 6.422 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.783977635670453]