Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.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.001004/0.001004, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009493/0.0009493, allocations: 185 kB / 24.09 MB, free: 416 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 0.9272/0.9272, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.917/1.917, allocations: 377.9 MB / 0.624 GB, free: 8.43 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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.112e-05, allocations: 2.312 kB / 0.812 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001965/0.001986, allocations: 1.481 MB / 0.8135 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.000337/0.002323, allocations: 153.1 kB / 0.8136 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.755e-05/0.00235, allocations: 4 kB / 0.8136 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.372e-05/0.002374, allocations: 0 / 0.8136 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.142e-05/0.002416, allocations: 5.516 kB / 0.8136 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.002748, allocations: 39.83 kB / 0.8137 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.611e-05/0.002804, allocations: 23.88 kB / 0.8137 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.614e-05/0.00288, allocations: 7.984 kB / 0.8137 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.685e-05/0.002917, allocations: 12.44 kB / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.224e-05/0.002949, allocations: 12.78 kB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.002961, allocations: 4 kB / 0.8137 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.003074, allocations: 35.95 kB / 0.8137 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.999e-06/0.003084, allocations: 0.7188 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.449e-05/0.003098, allocations: 13.53 kB / 0.8138 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.003213, allocations: 51.8 kB / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003215, allocations: 0 / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003216, allocations: 0 / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.003219, allocations: 0 / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003023/0.003522, allocations: 367.1 kB / 0.8142 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.003557, allocations: 12.03 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.003609, allocations: 0.9375 kB / 0.8142 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.119e-05/0.00369, allocations: 108.6 kB / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.0037, allocations: 4.359 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.29e-06/0.003705, allocations: 384 / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.003807, allocations: 55.48 kB / 0.8143 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.003813, allocations: 0.9062 kB / 0.8143 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-06/0.003819, allocations: 384 / 0.8143 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.003824, allocations: 0.9062 kB / 0.8143 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.769e-05/0.003842, allocations: 11.88 kB / 0.8143 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/0.004036, allocations: 230.1 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.057e-05/0.004077, allocations: 31.05 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.004092, allocations: 7.75 kB / 0.8146 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.966e-05/0.004182, allocations: 20.52 kB / 0.8146 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.004205, allocations: 41.33 kB / 0.8147 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.004206, allocations: 0.5938 kB / 0.8147 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.000121/0.004327, allocations: 46.31 kB / 0.8147 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.00435, allocations: 51.41 kB / 0.8148 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.009e-05/0.004411, allocations: 159.1 kB / 0.8149 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.004421, allocations: 33.7 kB / 0.8149 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.004459, allocations: 126.9 kB / 0.8151 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.731e-05/0.004476, allocations: 17.25 kB / 0.8151 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.004502, allocations: 19.38 kB / 0.8151 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.004613, allocations: 496.1 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-06/0.004622, allocations: 1.75 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-06/0.00463, allocations: 4 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.395e-05/0.004654, allocations: 15.62 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.004656, allocations: 0 / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.681e-05/0.004713, allocations: 42.81 kB / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.004727, allocations: 6.344 kB / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.004731, allocations: 0.8438 kB / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.004742, allocations: 3.938 kB / 0.8156 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.879e-05/0.004791, allocations: 10.22 kB / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.004793, allocations: 0 / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.421e-05/0.004807, allocations: 0 / 0.8157 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.004811, allocations: 4 kB / 0.8157 GB, free: 13.56 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.341e-05/0.004865, allocations: 156.6 kB / 0.8158 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.875e-05/0.004883, allocations: 6.766 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.876e-05/0.004952, allocations: 48.94 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.004954, allocations: 4.125 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.004956, allocations: 0 / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.004959, allocations: 3.984 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.021e-05/0.00504, allocations: 97.25 kB / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.005041, allocations: 0 / 0.816 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.179e-05/0.005062, allocations: 13.55 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.005063, allocations: 0 / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-06/0.005068, allocations: 4 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.005068, allocations: 0 / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005069, allocations: 0 / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.8e-05/0.005157, allocations: 192.5 kB / 0.8162 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-06/0.005162, allocations: 8.484 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.542e-06/0.005169, allocations: 0.5625 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.872e-05/0.005198, allocations: 4 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.343e-05/0.005221, allocations: 0.5625 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.005224, allocations: 5.312 kB / 0.8162 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.238e-05/0.005256, allocations: 127.2 kB / 0.8163 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005256, allocations: 0 / 0.8163 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001474/0.005404, allocations: 15.94 kB / 0.8163 GB, free: 12.84 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.000133/0.005537, allocations: 109.6 kB / 0.8164 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.532e-05/0.005592, allocations: 16.41 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.005594, allocations: 0 / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.465e-05/0.005608, allocations: 19.38 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.005767, allocations: 3.984 kB / 0.8165 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001968/0.005964, allocations: 114.5 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.974e-05/0.005993, allocations: 63.14 kB / 0.8166 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.55e-05/0.006009, allocations: 4 kB / 0.8166 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.006048, allocations: 66.2 kB / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of SimCode: time 6.81e-07/0.006049, allocations: 0 / 0.8167 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of Templates: time 0.002265/0.008314, allocations: 0.7552 MB / 0.8174 GB, free: 11.65 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.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.004509775899351]