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.001619/0.001619, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.001875/0.001875, allocations: 163.8 kB / 24.87 MB, free: 9.234 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.03/1.03, 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.858/1.858, allocations: 377.9 MB / 0.6247 GB, free: 8.426 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.443e-06/1.443e-06, allocations: 0 / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.632e-05, allocations: 3.375 kB / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002737/0.002764, allocations: 1.488 MB / 0.8142 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.000422/0.003186, allocations: 148.6 kB / 0.8144 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/0.003219, allocations: 4 kB / 0.8144 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.134e-05/0.00325, allocations: 4.766 kB / 0.8144 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 4.801e-05/0.003298, allocations: 3.938 kB / 0.8144 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.003661, allocations: 41.47 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.429e-05/0.003725, allocations: 27.91 kB / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.901e-05/0.003804, allocations: 0 / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.591e-05/0.00384, allocations: 11.98 kB / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.478e-05/0.003875, allocations: 9.531 kB / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.003889, allocations: 4 kB / 0.8145 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.004014, allocations: 39.88 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.408e-05/0.004028, allocations: 7.938 kB / 0.8145 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.47e-05/0.004042, allocations: 5.188 kB / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001357/0.004178, allocations: 51.86 kB / 0.8146 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.004181, allocations: 0 / 0.8146 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.52e-07/0.004181, allocations: 1.594 kB / 0.8146 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.004185, allocations: 0 / 0.8146 GB, free: 15.61 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.0003646/0.004549, allocations: 360.6 kB / 0.8149 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.004586, allocations: 12.03 kB / 0.8149 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.285e-05/0.004649, allocations: 5.594 kB / 0.8149 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.562e-05/0.004745, allocations: 112.6 kB / 0.8151 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.004756, allocations: 0.9062 kB / 0.8151 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-06/0.004764, allocations: 5.969 kB / 0.8151 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.004877, allocations: 50.95 kB / 0.8151 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.004885, allocations: 192 / 0.8151 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.004892, allocations: 4.375 kB / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.004899, allocations: 0.9062 kB / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.645e-05/0.004925, allocations: 7.938 kB / 0.8151 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000251/0.005176, allocations: 233 kB / 0.8153 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.352e-05/0.00523, allocations: 31.84 kB / 0.8154 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.661e-05/0.005246, allocations: 7.688 kB / 0.8154 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.005354, allocations: 9.203 kB / 0.8154 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.005382, allocations: 41.39 kB / 0.8154 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.005383, allocations: 0 / 0.8154 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001535/0.005537, allocations: 42.97 kB / 0.8155 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.005568, allocations: 51.41 kB / 0.8155 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.229e-05/0.005651, allocations: 171.6 kB / 0.8157 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.005662, allocations: 25.7 kB / 0.8157 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.91e-05/0.005711, allocations: 130.9 kB / 0.8158 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.005732, allocations: 11.89 kB / 0.8158 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-05/0.005768, allocations: 27.36 kB / 0.8159 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.005909, allocations: 494.3 kB / 0.8163 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.205e-05/0.005921, allocations: 0 / 0.8163 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.147e-05/0.005933, allocations: 4 kB / 0.8163 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.924e-05/0.005962, allocations: 11.69 kB / 0.8164 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.005964, allocations: 0 / 0.8164 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.606e-05/0.00605, allocations: 40.34 kB / 0.8164 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.006064, allocations: 4 kB / 0.8164 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.006069, allocations: 3.938 kB / 0.8164 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.006081, allocations: 3.938 kB / 0.8164 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.328e-05/0.006144, allocations: 8 kB / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.006147, allocations: 0 / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.378e-05/0.006171, allocations: 5.625 kB / 0.8164 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.006176, allocations: 3.984 kB / 0.8164 GB, free: 13.54 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 8.007e-05/0.006256, allocations: 160.6 kB / 0.8166 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.607e-05/0.006292, allocations: 8.078 kB / 0.8166 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.644e-05/0.006378, allocations: 46.03 kB / 0.8166 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.006384, allocations: 7.922 kB / 0.8166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.006385, allocations: 1.594 kB / 0.8166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.006388, allocations: 0 / 0.8166 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.006505, allocations: 93.27 kB / 0.8167 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.006506, allocations: 0 / 0.8167 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.628e-05/0.006543, allocations: 10.58 kB / 0.8167 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.006545, allocations: 11.94 kB / 0.8167 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.00655, allocations: 0 / 0.8167 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.006551, allocations: 0 / 0.8167 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.006553, allocations: 0 / 0.8167 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.006681, allocations: 187.9 kB / 0.8169 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-06/0.006687, allocations: 4 kB / 0.8169 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-06/0.006696, allocations: 0.5 kB / 0.8169 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.225e-05/0.006748, allocations: 5.031 kB / 0.8169 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.006781, allocations: 0 / 0.8169 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.006788, allocations: 7.922 kB / 0.8169 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.552e-05/0.006833, allocations: 124.1 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.006833, allocations: 0 / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000248/0.007081, allocations: 12.78 kB / 0.8171 GB, free: 12.82 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.0001807/0.007262, allocations: 114.9 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.983e-05/0.007342, allocations: 23.62 kB / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.007344, allocations: 0 / 0.8172 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-05/0.007362, allocations: 7.688 kB / 0.8172 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.007602, allocations: 4 kB / 0.8172 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002453/0.007847, allocations: 112.2 kB / 0.8173 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.197e-05/0.007889, allocations: 63.14 kB / 0.8174 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.049e-05/0.00791, allocations: 3.984 kB / 0.8174 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.69e-05/0.007956, allocations: 71.17 kB / 0.8175 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of SimCode: time 7.82e-07/0.007957, allocations: 0 / 0.8175 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of Templates: time 0.002966/0.01092, allocations: 0.776 MB / 0.8182 GB, free: 11.62 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.067253179382533]