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.001153/0.001153, allocations: 83.59 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.001206/0.001206, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9564/0.9564, allocations: 177.1 MB / 204.2 MB, free: 5.59 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.829/1.829, allocations: 377.8 MB / 0.6236 GB, free: 8.574 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.493e-06/1.493e-06, allocations: 0 / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.478e-05/2.627e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.004547/0.004574, allocations: 0.6126 MB / 0.8122 GB, free: 1.082 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002247/0.004798, allocations: 36.67 kB / 0.8122 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.223e-05/0.004821, allocations: 1.594 kB / 0.8122 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.943e-05/0.00486, allocations: 0 / 0.8122 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.736e-05/0.004897, allocations: 3.984 kB / 0.8122 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.005115, allocations: 15.92 kB / 0.8123 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.00543, allocations: 9.016 kB / 0.8123 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.005466, allocations: 0 / 0.8123 GB, free: 1.02 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.331e-05/0.005499, allocations: 4 kB / 0.8123 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 4.132e-05/0.005541, allocations: 0.7812 kB / 0.8123 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.005554, allocations: 0 / 0.8123 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 8.004e-05/0.005634, allocations: 21.66 kB / 0.8123 GB, free: 0.9961 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.737e-05/0.005662, allocations: 7.938 kB / 0.8123 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.005685, allocations: 7.984 kB / 0.8123 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.005785, allocations: 19.98 kB / 0.8123 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005788, allocations: 1.531 kB / 0.8123 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.062e-06/0.005789, allocations: 0 / 0.8123 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.005792, allocations: 0 / 0.8123 GB, free: 0.9609 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.0003074/0.0061, allocations: 382 kB / 0.8127 GB, free: 0.543 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.006141, allocations: 9.188 kB / 0.8127 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.006182, allocations: 0.9375 kB / 0.8127 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.304e-05/0.006245, allocations: 116.5 kB / 0.8128 GB, free: 404 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.006255, allocations: 1.75 kB / 0.8128 GB, free: 404 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.447e-06/0.006265, allocations: 4.312 kB / 0.8128 GB, free: 400 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.006373, allocations: 63.97 kB / 0.8129 GB, free: 324 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.006379, allocations: 192 / 0.8129 GB, free: 324 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.006386, allocations: 2.125 kB / 0.8129 GB, free: 324 kB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.25e-05/0.006419, allocations: 16.34 kB / 0.8129 GB, free: 308 kB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.204e-05/0.006451, allocations: 37.64 kB / 0.8129 GB, free: 264 kB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.006747, allocations: 268.1 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.532e-05/0.006803, allocations: 64.64 kB / 0.8132 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/0.006824, allocations: 38.52 kB / 0.8133 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-06/0.006828, allocations: 4.062 kB / 0.8133 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.006849, allocations: 35.08 kB / 0.8133 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.00685, allocations: 0 / 0.8133 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001649/0.007015, allocations: 122.7 kB / 0.8134 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.007051, allocations: 85.09 kB / 0.8135 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003096/0.01015, allocations: 172.5 kB / 0.8137 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.16e-05/0.01016, allocations: 25.7 kB / 0.8137 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.01022, allocations: 154.6 kB / 0.8139 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.912e-06/0.01022, allocations: 0 / 0.8139 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/0.01026, allocations: 31.36 kB / 0.8139 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.01038, allocations: 0.4884 MB / 0.8144 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.704e-05/0.0104, allocations: 29.7 kB / 0.8144 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.967e-05/0.01046, allocations: 103.9 kB / 0.8145 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.514e-05/0.01056, allocations: 151.6 kB / 0.8146 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01056, allocations: 0 / 0.8146 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001374/0.0107, allocations: 146.8 kB / 0.8148 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.01073, allocations: 38.53 kB / 0.8148 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.01073, allocations: 0 / 0.8148 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.01075, allocations: 4.5 kB / 0.8148 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.325e-05/0.01081, allocations: 8 kB / 0.8148 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.01082, allocations: 9.25 kB / 0.8148 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.017e-05/0.01088, allocations: 4 kB / 0.8148 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.0109, allocations: 10.09 kB / 0.8148 GB, free: 14.03 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 7.679e-05/0.01097, allocations: 190.2 kB / 0.815 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.011, allocations: 15.89 kB / 0.815 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.541e-05/0.01102, allocations: 3.469 kB / 0.815 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.01102, allocations: 0 / 0.815 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01102, allocations: 8.469 kB / 0.8151 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.01102, allocations: 2.562 kB / 0.8151 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.01113, allocations: 116.6 kB / 0.8152 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01113, allocations: 0 / 0.8152 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-06/0.01114, allocations: 7.922 kB / 0.8152 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01114, allocations: 0 / 0.8152 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.01115, allocations: 4 kB / 0.8152 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.01115, allocations: 0 / 0.8152 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01115, allocations: 1.719 kB / 0.8152 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.01127, allocations: 243.3 kB / 0.8154 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.01128, allocations: 11.89 kB / 0.8154 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.01129, allocations: 0 / 0.8154 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.829e-05/0.01134, allocations: 0.5 kB / 0.8154 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.01135, allocations: 4 kB / 0.8154 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.01136, allocations: 0.5625 kB / 0.8154 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.275e-05/0.0114, allocations: 141.2 kB / 0.8156 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.0114, allocations: 0 / 0.8156 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002442/0.01165, allocations: 12 kB / 0.8156 GB, free: 13.21 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.0001288/0.01177, allocations: 99.25 kB / 0.8157 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.01191, allocations: 147.8 kB / 0.8158 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.01192, allocations: 0.7812 kB / 0.8158 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.168e-05/0.01196, allocations: 97.39 kB / 0.8159 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.01216, allocations: 6.656 kB / 0.8159 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/0.01238, allocations: 135.7 kB / 0.816 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.815e-05/0.01242, allocations: 59.34 kB / 0.8161 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.073e-05/0.01246, allocations: 7.984 kB / 0.8161 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.01248, allocations: 8.5 kB / 0.8161 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of SimCode: time 5.81e-07/0.01248, allocations: 0 / 0.8161 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of Templates: time 0.00551/0.01799, allocations: 0.6001 MB / 0.8167 GB, free: 11.97 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: 4.998893191572279]