Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.451/1.451, allocations: 249.3 MB / 261.8 MB, free: 5.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 180.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.785/1.785, allocations: 205.2 MB / 0.572 GB, free: 10.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008235/0.0008236, allocations: 91.56 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.8e-05/3.804e-05, allocations: 4 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2148, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7466/0.9615, allocations: 131.1 MB / 1.02 GB, free: 3.656 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/0.9619, allocations: 81.69 kB / 1.02 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003137/0.9651, allocations: 0.7476 MB / 1.021 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.446e-06/0.9651, allocations: 3.938 kB / 1.021 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.9651, allocations: 0 / 1.021 GB, free: 2.918 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003902/0.9655, allocations: 328.5 kB / 1.021 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.194e-05/0.9656, allocations: 12.03 kB / 1.021 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.425e-05/0.9657, allocations: 7 kB / 1.021 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.9658, allocations: 163 kB / 1.021 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.9659, allocations: 0 / 1.021 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.299e-05/0.9659, allocations: 0 / 1.021 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.966, allocations: 29.7 kB / 1.021 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.9661, allocations: 0 / 1.021 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.9661, allocations: 0 / 1.021 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.9661, allocations: 0 / 1.021 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.016e-05/0.9661, allocations: 3.938 kB / 1.021 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000204/0.9663, allocations: 161.5 kB / 1.021 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.797e-05/0.9664, allocations: 17.31 kB / 1.021 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.534e-05/0.9665, allocations: 4.859 kB / 1.021 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002477/0.9667, allocations: 89.19 kB / 1.021 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.9668, allocations: 34.44 kB / 1.021 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.854e-06/0.9668, allocations: 0 / 1.021 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001837/0.967, allocations: 37.64 kB / 1.021 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.9671, allocations: 51.41 kB / 1.022 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.88e-05/0.9671, allocations: 85 kB / 1.022 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.9671, allocations: 25.7 kB / 1.022 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.236e-05/0.9672, allocations: 80.14 kB / 1.022 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.541e-05/0.9672, allocations: 3.984 kB / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-06/0.9673, allocations: 4 kB / 1.022 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.9674, allocations: 314.8 kB / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.9674, allocations: 0 / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.975e-06/0.9675, allocations: 4.031 kB / 1.022 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.083e-05/0.9675, allocations: 4 kB / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.9675, allocations: 0 / 1.022 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001111/0.9676, allocations: 37.53 kB / 1.022 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.9677, allocations: 7.938 kB / 1.022 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.9677, allocations: 0 / 1.022 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.9677, allocations: 3.984 kB / 1.022 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.931e-05/0.9678, allocations: 4 kB / 1.022 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.9678, allocations: 0 / 1.022 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.501e-05/0.9678, allocations: 4.094 kB / 1.022 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.9678, allocations: 0 / 1.022 GB, free: 1.227 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.258e-05/0.9679, allocations: 112.9 kB / 1.022 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.967e-05/0.968, allocations: 3.953 kB / 1.022 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.9681, allocations: 36.78 kB / 1.022 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.9681, allocations: 3.938 kB / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.9681, allocations: 0 / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.9681, allocations: 0 / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.9683, allocations: 149.6 kB / 1.022 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.9683, allocations: 8 kB / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.963e-05/0.9683, allocations: 0 / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.9683, allocations: 8.766 kB / 1.022 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.9684, allocations: 0 / 1.022 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.9684, allocations: 0 / 1.022 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.9684, allocations: 0 / 1.022 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.9685, allocations: 60.62 kB / 1.022 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.9686, allocations: 81.14 kB / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.9686, allocations: 3.953 kB / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.266e-05/0.9686, allocations: 3.75 kB / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.9687, allocations: 0 / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.9687, allocations: 4 kB / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.867e-05/0.9687, allocations: 75.28 kB / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9687, allocations: 0 / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003284/0.9691, allocations: 15.94 kB / 1.023 GB, free: 0.582 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000309/0.9694, allocations: 119.2 kB / 1.023 GB, free: 468 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.258e-05/0.9695, allocations: 7.938 kB / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.9695, allocations: 0 / 1.023 GB, free: 460 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.133e-05/0.9695, allocations: 4 kB / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.9696, allocations: 3.984 kB / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002099/0.9699, allocations: 55.53 kB / 1.023 GB, free: 380 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.9702, allocations: 0.6731 MB / 1.023 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.368e-05/0.9702, allocations: 7.984 kB / 1.023 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.617e-05/0.9702, allocations: 7.438 kB / 1.023 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of SimCode: time 9.32e-07/0.9702, allocations: 0 / 1.023 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of Templates: time 0.00314/0.9734, allocations: 389.7 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches