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.001046/0.001046, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001647/0.001647, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9324/0.9324, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.866/1.866, allocations: 359 MB / 0.6052 GB, free: 11.01 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.583e-06/1.583e-06, allocations: 0 / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/2.95e-05, allocations: 3.438 kB / 0.7872 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001802/0.001831, allocations: 0.597 MB / 0.7877 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002572/0.002089, allocations: 36.61 kB / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.249e-05/0.002111, allocations: 1.062 kB / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.363e-05/0.002155, allocations: 3.938 kB / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.279e-05/0.002198, allocations: 0 / 0.7878 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002376/0.002435, allocations: 13.55 kB / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.49e-05/0.00252, allocations: 7.922 kB / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.098e-05/0.002561, allocations: 8 kB / 0.7878 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.771e-05/0.002599, allocations: 6.234 kB / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.719e-05/0.002646, allocations: 0 / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.002663, allocations: 0 / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-05/0.002756, allocations: 19.98 kB / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.198e-05/0.002788, allocations: 0 / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.718e-05/0.002815, allocations: 4 kB / 0.7878 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.002942, allocations: 31.83 kB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.002945, allocations: 1.969 kB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.22e-07/0.002946, allocations: 0 / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.002952, allocations: 4 kB / 0.7879 GB, free: 11.7 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.0003532/0.003305, allocations: 378 kB / 0.7882 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.003348, allocations: 8.031 kB / 0.7882 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.328e-05/0.003391, allocations: 10.44 kB / 0.7883 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.207e-05/0.003463, allocations: 108.6 kB / 0.7884 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.003477, allocations: 384 / 0.7884 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.003491, allocations: 4.375 kB / 0.7884 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.003623, allocations: 65.05 kB / 0.7884 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.003634, allocations: 192 / 0.7884 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.003644, allocations: 4.375 kB / 0.7884 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.963e-05/0.003684, allocations: 8.984 kB / 0.7884 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.672e-05/0.00373, allocations: 41.58 kB / 0.7885 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.004071, allocations: 273.1 kB / 0.7887 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.925e-05/0.00413, allocations: 56.7 kB / 0.7888 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.892e-05/0.004159, allocations: 44.05 kB / 0.7888 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.619e-06/0.004164, allocations: 0 / 0.7888 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.004195, allocations: 41.38 kB / 0.7889 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.004196, allocations: 0 / 0.7889 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0002122/0.004408, allocations: 122.7 kB / 0.789 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.004456, allocations: 77.11 kB / 0.7891 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.004572, allocations: 174.6 kB / 0.7892 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.004586, allocations: 25.7 kB / 0.7893 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.004663, allocations: 159.1 kB / 0.7894 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.764e-06/0.004671, allocations: 0 / 0.7894 GB, free: 9.902 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.004717, allocations: 29.03 kB / 0.7894 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.004866, allocations: 0.4923 MB / 0.7899 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.249e-05/0.004898, allocations: 29.7 kB / 0.7899 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.541e-05/0.004974, allocations: 107.5 kB / 0.79 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.005085, allocations: 139.6 kB / 0.7902 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.005087, allocations: 9.312 kB / 0.7902 GB, free: 8.996 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004169/0.005504, allocations: 150.5 kB / 0.7903 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.005539, allocations: 35.42 kB / 0.7904 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.005546, allocations: 160 / 0.7904 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.005565, allocations: 4.844 kB / 0.7904 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.623e-05/0.005642, allocations: 15.98 kB / 0.7904 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.005649, allocations: 8.766 kB / 0.7904 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.782e-05/0.005717, allocations: 4 kB / 0.7904 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.005736, allocations: 9.281 kB / 0.7904 GB, free: 8.754 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 9.204e-05/0.005828, allocations: 190.2 kB / 0.7906 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.005856, allocations: 7.891 kB / 0.7906 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.842e-05/0.005874, allocations: 12.3 kB / 0.7906 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.005877, allocations: 0 / 0.7906 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.00588, allocations: 0 / 0.7906 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.005882, allocations: 1.062 kB / 0.7906 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.006004, allocations: 112.6 kB / 0.7907 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.006006, allocations: 1.375 kB / 0.7907 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.156e-06/0.006009, allocations: 7.922 kB / 0.7907 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.006011, allocations: 0 / 0.7907 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.006018, allocations: 4 kB / 0.7907 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.00602, allocations: 1.375 kB / 0.7907 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.006021, allocations: 3.938 kB / 0.7907 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/0.006176, allocations: 247.3 kB / 0.791 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.143e-05/0.006188, allocations: 6.906 kB / 0.791 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.0062, allocations: 0 / 0.791 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.068e-05/0.006261, allocations: 0 / 0.791 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.34e-05/0.006274, allocations: 4 kB / 0.791 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.006281, allocations: 0 / 0.791 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.466e-05/0.006335, allocations: 135.2 kB / 0.7911 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.006335, allocations: 0 / 0.7911 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002813/0.006617, allocations: 8 kB / 0.7911 GB, free: 7.953 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.0001634/0.00678, allocations: 101.7 kB / 0.7912 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001681/0.006948, allocations: 146.4 kB / 0.7914 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.00695, allocations: 0.5938 kB / 0.7914 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.015e-05/0.00699, allocations: 95.59 kB / 0.7914 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.007227, allocations: 17.94 kB / 0.7915 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00026/0.007487, allocations: 136.6 kB / 0.7916 GB, free: 7.379 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.188e-05/0.007529, allocations: 55.36 kB / 0.7916 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.813e-05/0.007577, allocations: 14.09 kB / 0.7917 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.885e-05/0.007596, allocations: 12.5 kB / 0.7917 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.007596, allocations: 0 / 0.7917 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of Templates: time 0.002945/0.01054, allocations: 0.565 MB / 0.7922 GB, free: 6.742 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: 5.087173505220562]