Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.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.503/1.503, allocations: 249.3 MB / 261.9 MB, free: 5.809 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.001229/0.001229, allocations: 182.5 kB / 321.3 MB, free: 14.64 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.802/1.802, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.001003/0.001003, allocations: 100.3 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.084e-05/4.087e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2337, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8189/1.053, allocations: 131.8 MB / 1.02 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/1.053, allocations: 70.02 kB / 1.021 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00347/1.056, allocations: 1.043 MB / 1.022 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.463e-06/1.056, allocations: 0 / 1.022 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.925e-06/1.057, allocations: 0 / 1.022 GB, free: 1.906 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004282/1.057, allocations: 342.5 kB / 1.022 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/1.057, allocations: 8.031 kB / 1.022 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.652e-05/1.057, allocations: 3.375 kB / 1.022 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/1.057, allocations: 171 kB / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/1.057, allocations: 0 / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/1.057, allocations: 0 / 1.022 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/1.057, allocations: 41.02 kB / 1.022 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/1.057, allocations: 4 kB / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/1.057, allocations: 0 / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/1.057, allocations: 0 / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.575e-05/1.058, allocations: 15.36 kB / 1.022 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/1.058, allocations: 269.2 kB / 1.022 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.002e-05/1.058, allocations: 30.14 kB / 1.022 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.673e-05/1.058, allocations: 8.922 kB / 1.022 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001911/1.058, allocations: 88.97 kB / 1.023 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/1.058, allocations: 34.56 kB / 1.023 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/1.058, allocations: 0 / 1.023 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002027/1.059, allocations: 45.03 kB / 1.023 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/1.059, allocations: 55.44 kB / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.894e-05/1.059, allocations: 92.5 kB / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/1.059, allocations: 25.7 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/1.059, allocations: 84.14 kB / 1.023 GB, free: 448 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/1.059, allocations: 7.844 kB / 1.023 GB, free: 440 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/1.059, allocations: 0 / 1.023 GB, free: 440 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001596/1.059, allocations: 322.7 kB / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.92e-05/1.059, allocations: 7.938 kB / 1.023 GB, free: 104 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.552e-05/1.059, allocations: 7.875 kB / 1.023 GB, free: 100 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.214e-05/1.059, allocations: 8.062 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.059, allocations: 0 / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.876e-05/1.059, allocations: 36.58 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/1.059, allocations: 9.875 kB / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.059, allocations: 3.984 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/1.059, allocations: 0 / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.833e-05/1.059, allocations: 8 kB / 1.023 GB, free: 32 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/1.059, allocations: 0 / 1.023 GB, free: 32 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.682e-05/1.059, allocations: 16.02 kB / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/1.059, allocations: 3.938 kB / 1.023 GB, free: 12 kB / 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 (2): * Single equations (assignments): 2 * 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 0.0001019/1.06, allocations: 112.8 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/1.06, allocations: 192 / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/1.06, allocations: 60.98 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/1.06, allocations: 0.875 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/1.06, allocations: 0 / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/1.06, allocations: 4.031 kB / 1.023 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/1.06, allocations: 160.9 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/1.06, allocations: 0 / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.364e-05/1.06, allocations: 11.98 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/1.06, allocations: 7.75 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/1.06, allocations: 3.875 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.06, allocations: 0 / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.06, allocations: 0 / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/1.06, allocations: 149.8 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/1.06, allocations: 81.09 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/1.06, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.119e-05/1.06, allocations: 8 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/1.06, allocations: 3.984 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/1.06, allocations: 0 / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.186e-05/1.06, allocations: 82.84 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.06, allocations: 4.031 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000269/1.061, allocations: 16 kB / 1.024 GB, free: 15.25 MB / 0.6511 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 (2): * Single equations (assignments): 2 * 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.0002394/1.061, allocations: 119.2 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.736e-05/1.061, allocations: 18.44 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.061, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.212e-05/1.061, allocations: 8.062 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/1.061, allocations: 7.953 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002121/1.062, allocations: 64.42 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/1.062, allocations: 0.677 MB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.322e-05/1.062, allocations: 7.984 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.779e-05/1.062, allocations: 7.438 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/1.062, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of Templates: time 0.002707/1.065, allocations: 0.5593 MB / 1.025 GB, free: 13.76 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches