Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00089/0.00089, allocations: 87.58 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.001011/0.001011, allocations: 161 kB / 23.81 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 1.008/1.008, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.812/1.812, allocations: 377.8 MB / 0.6236 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0.6562 kB / 0.8116 GB, free: 1.641 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.849e-05/1.975e-05, allocations: 4.984 kB / 0.8116 GB, free: 1.637 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001072/0.001092, allocations: 0.6196 MB / 0.8122 GB, free: 1.039 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001913/0.001283, allocations: 33.3 kB / 0.8122 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.956e-05/0.001303, allocations: 0 / 0.8122 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.89e-05/0.001342, allocations: 0 / 0.8122 GB, free: 1.008 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.774e-05/0.00138, allocations: 5.5 kB / 0.8122 GB, free: 1.004 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.001578, allocations: 7.984 kB / 0.8122 GB, free: 0.9961 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.769e-05/0.001656, allocations: 16.83 kB / 0.8122 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.254e-05/0.001689, allocations: 0 / 0.8122 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.853e-05/0.001717, allocations: 0 / 0.8122 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.01e-05/0.001757, allocations: 4.656 kB / 0.8122 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.001772, allocations: 0 / 0.8122 GB, free: 0.9766 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.783e-05/0.001839, allocations: 25.2 kB / 0.8123 GB, free: 0.9531 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.849e-05/0.001868, allocations: 4 kB / 0.8123 GB, free: 0.9492 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.757e-05/0.001886, allocations: 0 / 0.8123 GB, free: 0.9492 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 9.172e-05/0.001977, allocations: 29.42 kB / 0.8123 GB, free: 0.9219 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.001979, allocations: 3.938 kB / 0.8123 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of FrontEnd: time 7.61e-07/0.00198, allocations: 0 / 0.8123 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.001984, allocations: 0 / 0.8123 GB, free: 0.918 MB / 0.7605 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.0002717/0.002255, allocations: 375.1 kB / 0.8127 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.002288, allocations: 12.03 kB / 0.8127 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.002322, allocations: 4.938 kB / 0.8127 GB, free: 0.4922 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.338e-05/0.002375, allocations: 109.3 kB / 0.8128 GB, free: 368 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.002385, allocations: 4.375 kB / 0.8128 GB, free: 364 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.002396, allocations: 1.344 kB / 0.8128 GB, free: 364 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.002499, allocations: 67.95 kB / 0.8129 GB, free: 284 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.002508, allocations: 0.9375 kB / 0.8129 GB, free: 284 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-06/0.002516, allocations: 384 / 0.8129 GB, free: 284 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.002545, allocations: 9.234 kB / 0.8129 GB, free: 276 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.002655, allocations: 45.58 kB / 0.8129 GB, free: 224 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002625/0.002918, allocations: 268 kB / 0.8132 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.265e-05/0.00296, allocations: 57.95 kB / 0.8132 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.018e-05/0.00298, allocations: 41.38 kB / 0.8133 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-06/0.002984, allocations: 0 / 0.8133 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.003005, allocations: 39.33 kB / 0.8133 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 5.71e-07/0.003005, allocations: 0 / 0.8133 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001415/0.003147, allocations: 122.7 kB / 0.8134 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.003178, allocations: 81.09 kB / 0.8135 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.085e-05/0.003249, allocations: 175 kB / 0.8137 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.003258, allocations: 25.7 kB / 0.8137 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.003303, allocations: 150.6 kB / 0.8138 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.029e-06/0.003308, allocations: 4.938 kB / 0.8138 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.003338, allocations: 31.36 kB / 0.8139 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.427e-05/0.003432, allocations: 0.4901 MB / 0.8143 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.882e-05/0.003451, allocations: 29.7 kB / 0.8144 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.142e-05/0.003502, allocations: 115.2 kB / 0.8145 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.795e-05/0.00358, allocations: 147.9 kB / 0.8146 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.003582, allocations: 0 / 0.8146 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.962e-05/0.003682, allocations: 146.1 kB / 0.8148 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.003705, allocations: 35.47 kB / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.003711, allocations: 4.469 kB / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.003726, allocations: 0 / 0.8148 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.748e-05/0.003783, allocations: 19.92 kB / 0.8148 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.00379, allocations: 4 kB / 0.8148 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.716e-05/0.003837, allocations: 4.625 kB / 0.8148 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.003849, allocations: 4.688 kB / 0.8148 GB, free: 13.98 MB / 0.7761 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.6e-05/0.003915, allocations: 194.7 kB / 0.815 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.003936, allocations: 11.89 kB / 0.815 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.219e-05/0.003948, allocations: 4.625 kB / 0.815 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.003949, allocations: 0 / 0.815 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.003952, allocations: 0 / 0.815 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.003955, allocations: 0.5312 kB / 0.815 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.985e-05/0.004035, allocations: 124.6 kB / 0.8152 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.004036, allocations: 5.188 kB / 0.8152 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.733e-06/0.004037, allocations: 3.938 kB / 0.8152 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.004039, allocations: 0 / 0.8152 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.004044, allocations: 1.094 kB / 0.8152 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.004044, allocations: 0 / 0.8152 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.004047, allocations: 3.984 kB / 0.8152 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.344e-05/0.00414, allocations: 244.2 kB / 0.8154 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.849e-06/0.00415, allocations: 8.828 kB / 0.8154 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.00416, allocations: 4 kB / 0.8154 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.116e-05/0.004191, allocations: 0 / 0.8154 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.185e-05/0.004203, allocations: 1.344 kB / 0.8154 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.004207, allocations: 4 kB / 0.8154 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.38e-05/0.004241, allocations: 131.2 kB / 0.8155 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.004241, allocations: 0.8438 kB / 0.8155 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001628/0.004404, allocations: 8 kB / 0.8155 GB, free: 13.18 MB / 0.7761 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.0001072/0.004511, allocations: 109.2 kB / 0.8157 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.004626, allocations: 146.3 kB / 0.8158 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.004628, allocations: 0.7188 kB / 0.8158 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.728e-05/0.004655, allocations: 96.23 kB / 0.8159 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001357/0.004791, allocations: 4 kB / 0.8159 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000182/0.004973, allocations: 136 kB / 0.816 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.165e-05/0.005004, allocations: 55.34 kB / 0.8161 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.029e-05/0.005035, allocations: 11.98 kB / 0.8161 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.241e-05/0.005047, allocations: 9.094 kB / 0.8161 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.005047, allocations: 0 / 0.8161 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of Templates: time 0.001979/0.007026, allocations: 0.579 MB / 0.8167 GB, free: 11.96 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.043019042350352]