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.001087/0.001087, 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.0009965/0.0009965, 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 0.9772/0.9772, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.885/1.885, allocations: 377.9 MB / 0.6247 GB, free: 8.375 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.553e-06/1.553e-06, allocations: 0 / 0.8128 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.474e-05, allocations: 3.078 kB / 0.8128 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001227/0.001252, allocations: 0.6073 MB / 0.8134 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001777/0.001429, allocations: 36.55 kB / 0.8135 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.972e-05/0.001449, allocations: 0.5625 kB / 0.8135 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.635e-05/0.001485, allocations: 6.344 kB / 0.8135 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.377e-05/0.001519, allocations: 0 / 0.8135 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.001695, allocations: 8.312 kB / 0.8135 GB, free: 0.7227 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 6.205e-05/0.001757, allocations: 11.94 kB / 0.8135 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.386e-05/0.00179, allocations: 0 / 0.8135 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.036e-05/0.001821, allocations: 7.984 kB / 0.8135 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.573e-05/0.001857, allocations: 1.156 kB / 0.8135 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.001868, allocations: 0 / 0.8135 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 6.624e-05/0.001934, allocations: 19.97 kB / 0.8135 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 2.332e-05/0.001958, allocations: 4.938 kB / 0.8135 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.337e-05/0.001971, allocations: 0 / 0.8135 GB, free: 0.6797 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 7.662e-05/0.002048, allocations: 27.91 kB / 0.8136 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.00205, allocations: 0.9062 kB / 0.8136 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.31e-07/0.00205, allocations: 0 / 0.8136 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.002054, allocations: 1.031 kB / 0.8136 GB, free: 0.6523 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.0002589/0.002313, allocations: 386 kB / 0.8139 GB, free: 236 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 2.874e-05/0.002342, allocations: 8.031 kB / 0.8139 GB, free: 228 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.002367, allocations: 2.312 kB / 0.8139 GB, free: 228 kB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.605e-05/0.002423, allocations: 112.6 kB / 0.814 GB, free: 88 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.002434, allocations: 384 / 0.814 GB, free: 88 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-06/0.00244, allocations: 2.312 kB / 0.814 GB, free: 88 kB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.745e-05/0.002527, allocations: 71.95 kB / 0.8141 GB, free: 4 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.002535, allocations: 4.172 kB / 0.8141 GB, free: 0 / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.002542, allocations: 384 / 0.8141 GB, free: 0 / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.65e-05/0.002578, allocations: 4.422 kB / 0.8141 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.359e-05/0.002602, allocations: 41.58 kB / 0.8142 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/0.002803, allocations: 262.3 kB / 0.8144 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.044e-05/0.002844, allocations: 52.77 kB / 0.8145 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.701e-05/0.002861, allocations: 37.39 kB / 0.8145 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-06/0.002864, allocations: 3.938 kB / 0.8145 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.002885, allocations: 38.39 kB / 0.8145 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.002885, allocations: 0 / 0.8145 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001243/0.00301, allocations: 127.2 kB / 0.8147 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.12e-05/0.003041, allocations: 77.64 kB / 0.8147 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.784e-05/0.003109, allocations: 171 kB / 0.8149 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.003118, allocations: 29.7 kB / 0.8149 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.003165, allocations: 150.6 kB / 0.8151 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.531e-06/0.003171, allocations: 8.547 kB / 0.8151 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.003199, allocations: 27.38 kB / 0.8151 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.0033, allocations: 492.7 kB / 0.8156 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.797e-05/0.003318, allocations: 39.06 kB / 0.8156 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.765e-05/0.003365, allocations: 111.4 kB / 0.8157 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.692e-05/0.003442, allocations: 139.8 kB / 0.8158 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.003445, allocations: 4 kB / 0.8158 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.708e-05/0.003542, allocations: 146.6 kB / 0.816 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.003564, allocations: 29.7 kB / 0.816 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.003569, allocations: 5.438 kB / 0.816 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.226e-06/0.003577, allocations: 4 kB / 0.816 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.109e-05/0.003618, allocations: 8 kB / 0.816 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.003628, allocations: 12.08 kB / 0.816 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.002e-05/0.003668, allocations: 5.312 kB / 0.8161 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.003679, allocations: 4 kB / 0.8161 GB, free: 13.75 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.645e-05/0.003745, allocations: 197.2 kB / 0.8162 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.003762, allocations: 11.89 kB / 0.8163 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.827e-06/0.003771, allocations: 3.469 kB / 0.8163 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.003772, allocations: 0 / 0.8163 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.003774, allocations: 0 / 0.8163 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.003777, allocations: 0 / 0.8163 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.68e-05/0.003854, allocations: 97.25 kB / 0.8163 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.003854, allocations: 0 / 0.8163 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-07/0.003855, allocations: 4 kB / 0.8164 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.31e-07/0.003856, allocations: 0.5 kB / 0.8164 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.449e-06/0.00386, allocations: 5.156 kB / 0.8164 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.003862, allocations: 3.984 kB / 0.8164 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.003865, allocations: 3.938 kB / 0.8164 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.382e-05/0.003959, allocations: 244.3 kB / 0.8166 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-06/0.003966, allocations: 3.953 kB / 0.8166 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.554e-06/0.003973, allocations: 5.281 kB / 0.8166 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.2e-05/0.004005, allocations: 8 kB / 0.8166 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-06/0.004012, allocations: 0 / 0.8166 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.004015, allocations: 0 / 0.8166 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.427e-05/0.004049, allocations: 136.2 kB / 0.8167 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.004049, allocations: 0 / 0.8167 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001645/0.004214, allocations: 12 kB / 0.8168 GB, free: 12.96 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 9.579e-05/0.00431, allocations: 106.5 kB / 0.8169 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.004416, allocations: 142.4 kB / 0.817 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.004417, allocations: 3.938 kB / 0.817 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.929e-05/0.004446, allocations: 92.8 kB / 0.8171 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.00458, allocations: 6.844 kB / 0.8171 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001564/0.004736, allocations: 132 kB / 0.8172 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.304e-05/0.004769, allocations: 59.34 kB / 0.8173 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.993e-05/0.004789, allocations: 0 / 0.8173 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.654e-05/0.004836, allocations: 76.27 kB / 0.8173 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.004836, allocations: 0 / 0.8173 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of Templates: time 0.001885/0.006721, allocations: 0.6054 MB / 0.8179 GB, free: 11.66 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.0874142539687455]