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.0009324/0.0009324, allocations: 80.8 kB / 20.75 MB, free: 3.734 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.0009564/0.0009564, allocations: 165 kB / 24.17 MB, free: 324 kB / 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.001/1.001, allocations: 177.1 MB / 204.6 MB, free: 5.031 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.936/1.936, allocations: 377.9 MB / 0.624 GB, free: 8.312 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 / 0.7601 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.217e-05, allocations: 4.844 kB / 0.7601 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001446/0.001469, allocations: 0.6664 MB / 0.7608 GB, free: 5.859 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001977/0.001666, allocations: 35.88 kB / 0.7608 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.761e-05/0.001684, allocations: 0 / 0.7608 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.954e-05/0.001713, allocations: 0.875 kB / 0.7608 GB, free: 5.824 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.624e-05/0.00175, allocations: 7.938 kB / 0.7608 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001836/0.001933, allocations: 8.672 kB / 0.7608 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.326e-05/0.001997, allocations: 2.641 kB / 0.7608 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.509e-05/0.002032, allocations: 8 kB / 0.7608 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.263e-05/0.002064, allocations: 4.531 kB / 0.7608 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.634e-05/0.002101, allocations: 0 / 0.7608 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.002114, allocations: 4 kB / 0.7608 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.224e-05/0.002196, allocations: 21.52 kB / 0.7609 GB, free: 5.773 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.481e-05/0.002221, allocations: 4.656 kB / 0.7609 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.547e-05/0.002236, allocations: 2.172 kB / 0.7609 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.501e-05/0.002321, allocations: 29.48 kB / 0.7609 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.002323, allocations: 0 / 0.7609 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.062e-06/0.002324, allocations: 0.6875 kB / 0.7609 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.002328, allocations: 0 / 0.7609 GB, free: 5.742 MB / 0.7136 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.00021/0.002538, allocations: 251.1 kB / 0.7611 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.002568, allocations: 12.03 kB / 0.7611 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.452e-05/0.002593, allocations: 2.344 kB / 0.7611 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.409e-05/0.002647, allocations: 105.7 kB / 0.7612 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.002656, allocations: 5.25 kB / 0.7612 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-06/0.002661, allocations: 384 / 0.7612 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.212e-05/0.002753, allocations: 72.95 kB / 0.7613 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.002761, allocations: 192 / 0.7613 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.63e-06/0.002766, allocations: 1.141 kB / 0.7613 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.002791, allocations: 8.375 kB / 0.7613 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.773e-05/0.002819, allocations: 41.62 kB / 0.7614 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.003006, allocations: 178.1 kB / 0.7615 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.3e-05/0.003039, allocations: 47.56 kB / 0.7616 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.49e-05/0.003054, allocations: 34.55 kB / 0.7616 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-06/0.003057, allocations: 0 / 0.7616 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.003079, allocations: 43.44 kB / 0.7617 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.00308, allocations: 0 / 0.7617 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.000101/0.003181, allocations: 118.7 kB / 0.7618 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.003209, allocations: 77.11 kB / 0.7618 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.45e-05/0.003264, allocations: 118.7 kB / 0.762 GB, free: 4.477 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.166e-06/0.003272, allocations: 28.83 kB / 0.762 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.003308, allocations: 103.9 kB / 0.7621 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.319e-06/0.003312, allocations: 4 kB / 0.7621 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.003339, allocations: 27.19 kB / 0.7621 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.373e-05/0.003403, allocations: 318.8 kB / 0.7624 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/0.003418, allocations: 29.7 kB / 0.7624 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.53e-05/0.003454, allocations: 76.56 kB / 0.7625 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.892e-05/0.003523, allocations: 133.8 kB / 0.7626 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.003524, allocations: 0 / 0.7626 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.062e-05/0.003605, allocations: 132.8 kB / 0.7628 GB, free: 3.531 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.003629, allocations: 38.02 kB / 0.7628 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.003634, allocations: 0 / 0.7628 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.003646, allocations: 4 kB / 0.7628 GB, free: 3.488 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.907e-05/0.003695, allocations: 11.98 kB / 0.7628 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.0037, allocations: 7.938 kB / 0.7628 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.94e-05/0.003739, allocations: 4 kB / 0.7628 GB, free: 3.465 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.003749, allocations: 4 kB / 0.7628 GB, free: 3.461 MB / 0.7136 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 5.406e-05/0.003803, allocations: 147.6 kB / 0.763 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.00382, allocations: 13.48 kB / 0.763 GB, free: 3.289 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.152e-05/0.003831, allocations: 7.453 kB / 0.763 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.003833, allocations: 0 / 0.763 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.003834, allocations: 0 / 0.763 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.003837, allocations: 4 kB / 0.763 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.36e-05/0.003901, allocations: 63.95 kB / 0.7631 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-07/0.003902, allocations: 4 kB / 0.7631 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.003902, allocations: 0 / 0.7631 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.003903, allocations: 0.6562 kB / 0.7631 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.656e-06/0.003907, allocations: 0 / 0.7631 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.003909, allocations: 8.766 kB / 0.7631 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.00391, allocations: 0 / 0.7631 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.461e-05/0.003984, allocations: 188.2 kB / 0.7633 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-06/0.003992, allocations: 8.531 kB / 0.7633 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.854e-06/0.004, allocations: 4 kB / 0.7633 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.967e-05/0.004029, allocations: 5.062 kB / 0.7633 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-06/0.004038, allocations: 4 kB / 0.7633 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.004041, allocations: 4 kB / 0.7633 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.137e-05/0.004053, allocations: 14.28 kB / 0.7633 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.004053, allocations: 0.7656 kB / 0.7633 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001324/0.004185, allocations: 8 kB / 0.7633 GB, free: 2.926 MB / 0.7136 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.174e-05/0.004277, allocations: 85.08 kB / 0.7634 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.459e-05/0.004371, allocations: 141.4 kB / 0.7635 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.004375, allocations: 4 kB / 0.7635 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.687e-05/0.004402, allocations: 90.89 kB / 0.7636 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.346e-05/0.004495, allocations: 4.875 kB / 0.7636 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001619/0.004657, allocations: 138.2 kB / 0.7637 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.992e-05/0.004687, allocations: 55.36 kB / 0.7638 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.464e-05/0.004712, allocations: 7.016 kB / 0.7638 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.004753, allocations: 59.38 kB / 0.7639 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/0.004753, allocations: 3 kB / 0.7639 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of Templates: time 0.00189/0.006644, allocations: 0.5967 MB / 0.7644 GB, free: 1.68 MB / 0.7136 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 -s gbode -gbm=radauIIA3 -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.968122806865722]