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.001491/0.001491, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009771/0.0009771, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.9151/0.9151, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.729/1.729, allocations: 359 MB / 0.6052 GB, free: 10.98 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.553e-06/1.553e-06, allocations: 0 / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.187e-05, allocations: 8.219 kB / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001092/0.001114, allocations: 0.5988 MB / 0.7877 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002072/0.001321, allocations: 35.88 kB / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.201e-05/0.001344, allocations: 0 / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.765e-05/0.001381, allocations: 0.9688 kB / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.785e-05/0.001419, allocations: 11.88 kB / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.001622, allocations: 12.53 kB / 0.7878 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.3e-05/0.001695, allocations: 4 kB / 0.7878 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.00173, allocations: 4.688 kB / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.372e-05/0.001764, allocations: 0.9062 kB / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.311e-05/0.001807, allocations: 7.984 kB / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.001823, allocations: 0 / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.153e-05/0.001894, allocations: 16.64 kB / 0.7878 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.00192, allocations: 0 / 0.7878 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.01e-05/0.00194, allocations: 5.656 kB / 0.7878 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.754e-05/0.002038, allocations: 27.89 kB / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.002041, allocations: 8 kB / 0.7879 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.72e-07/0.002042, allocations: 0 / 0.7879 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.299e-06/0.002046, allocations: 1.594 kB / 0.7879 GB, free: 11.67 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.0002821/0.002328, allocations: 374 kB / 0.7882 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.002363, allocations: 8.031 kB / 0.7882 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.002404, allocations: 4.938 kB / 0.7883 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.385e-05/0.002458, allocations: 116 kB / 0.7884 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.002469, allocations: 4.375 kB / 0.7884 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.002477, allocations: 384 / 0.7884 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.002581, allocations: 71.95 kB / 0.7884 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.002587, allocations: 192 / 0.7884 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.002596, allocations: 384 / 0.7884 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.088e-05/0.002627, allocations: 8.125 kB / 0.7884 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.244e-05/0.002659, allocations: 37.69 kB / 0.7885 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002977/0.002957, allocations: 280 kB / 0.7887 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.546e-05/0.003012, allocations: 53.42 kB / 0.7888 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.367e-05/0.003036, allocations: 37.45 kB / 0.7888 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-06/0.00304, allocations: 0.9375 kB / 0.7888 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.003062, allocations: 37.39 kB / 0.7889 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.003063, allocations: 4.531 kB / 0.7889 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001733/0.003236, allocations: 124.1 kB / 0.789 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.003276, allocations: 81.11 kB / 0.7891 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.994e-05/0.003356, allocations: 169.9 kB / 0.7892 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.003366, allocations: 29.7 kB / 0.7893 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.003418, allocations: 155.9 kB / 0.7894 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-06/0.003425, allocations: 7.938 kB / 0.7894 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.003457, allocations: 27.38 kB / 0.7894 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.00357, allocations: 496.7 kB / 0.7899 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.533e-05/0.003595, allocations: 33.69 kB / 0.7899 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.338e-05/0.003649, allocations: 108.3 kB / 0.7901 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.837e-05/0.003727, allocations: 148.1 kB / 0.7902 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.003731, allocations: 3.938 kB / 0.7902 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001069/0.003838, allocations: 142.9 kB / 0.7903 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.003862, allocations: 33.7 kB / 0.7904 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.003869, allocations: 5.188 kB / 0.7904 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.00388, allocations: 0 / 0.7904 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.569e-05/0.003936, allocations: 12 kB / 0.7904 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.003944, allocations: 12.94 kB / 0.7904 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.744e-05/0.003992, allocations: 4 kB / 0.7904 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.004004, allocations: 8 kB / 0.7904 GB, free: 8.738 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 7.373e-05/0.004078, allocations: 195.7 kB / 0.7906 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.0041, allocations: 7.953 kB / 0.7906 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.889e-06/0.00411, allocations: 3.469 kB / 0.7906 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.004112, allocations: 0.5312 kB / 0.7906 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.004115, allocations: 0 / 0.7906 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.004117, allocations: 0.6562 kB / 0.7906 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.934e-05/0.004196, allocations: 117.2 kB / 0.7907 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.004198, allocations: 3.938 kB / 0.7907 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.71e-07/0.004199, allocations: 4.75 kB / 0.7907 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.0042, allocations: 0 / 0.7907 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.004207, allocations: 0.8125 kB / 0.7907 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.004208, allocations: 0 / 0.7907 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.004209, allocations: 0.9375 kB / 0.7907 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.004314, allocations: 247.3 kB / 0.791 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-06/0.004323, allocations: 5.156 kB / 0.791 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-06/0.004332, allocations: 3.984 kB / 0.791 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.297e-05/0.004365, allocations: 8 kB / 0.791 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.296e-05/0.004378, allocations: 4.828 kB / 0.791 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.004381, allocations: 0 / 0.791 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.339e-05/0.004415, allocations: 133.4 kB / 0.7911 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.004415, allocations: 0 / 0.7911 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001576/0.004572, allocations: 11.94 kB / 0.7911 GB, free: 7.934 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.0001058/0.004678, allocations: 111.3 kB / 0.7912 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.004804, allocations: 145.4 kB / 0.7914 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.004806, allocations: 0 / 0.7914 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.853e-05/0.004834, allocations: 88.8 kB / 0.7914 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.004974, allocations: 15.92 kB / 0.7915 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002203/0.005195, allocations: 128.7 kB / 0.7916 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.952e-05/0.005234, allocations: 60.66 kB / 0.7916 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.851e-05/0.005273, allocations: 9.078 kB / 0.7917 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.679e-05/0.00529, allocations: 12.5 kB / 0.7917 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of SimCode: time 7.31e-07/0.00529, allocations: 0.9688 kB / 0.7917 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of Templates: time 0.002217/0.007508, allocations: 0.6017 MB / 0.7923 GB, free: 6.691 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.6910805818624794]