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.308/1.308, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001099/0.0011, allocations: 171.1 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.723/1.723, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008748/0.0008749, allocations: 96.39 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003137, allocations: 14.5 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.191, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.344, allocations: 131.2 MB / 1.028 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.3443, allocations: 71.95 kB / 1.028 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002033/0.3463, allocations: 0.7542 MB / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3464, allocations: 0 / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.3464, allocations: 0 / 1.029 GB, free: 11.76 MB / 0.6823 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.0002375/0.3466, allocations: 327.4 kB / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.3467, allocations: 8.031 kB / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.3467, allocations: 4 kB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.497e-05/0.3468, allocations: 163 kB / 1.029 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.3468, allocations: 0 / 1.029 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.3468, allocations: 0 / 1.029 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.113e-05/0.3469, allocations: 25.7 kB / 1.029 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.3469, allocations: 0 / 1.029 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.347, allocations: 4 kB / 1.029 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.347, allocations: 7.938 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.818e-05/0.347, allocations: 4 kB / 1.03 GB, free: 11.14 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001233/0.3471, allocations: 149.6 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.256e-05/0.3472, allocations: 18.61 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/0.3474, allocations: 85.16 kB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.3474, allocations: 38.56 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.3474, allocations: 0 / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001191/0.3475, allocations: 33.64 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.3476, allocations: 55.41 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.054e-05/0.3476, allocations: 85 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.3476, allocations: 25.7 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.362e-05/0.3476, allocations: 84.08 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.3477, allocations: 7.891 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.3477, allocations: 0 / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.3478, allocations: 326.9 kB / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.923e-06/0.3478, allocations: 0 / 1.03 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.418e-06/0.3478, allocations: 4 kB / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.279e-05/0.3478, allocations: 0 / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3478, allocations: 0 / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.672e-05/0.3479, allocations: 37.59 kB / 1.03 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.3479, allocations: 8 kB / 1.03 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3479, allocations: 3.984 kB / 1.03 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.3479, allocations: 96 / 1.03 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.439e-05/0.348, allocations: 11.98 kB / 1.03 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.348, allocations: 0 / 1.03 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.937e-06/0.348, allocations: 4 kB / 1.03 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-06/0.348, allocations: 0 / 1.03 GB, free: 10.04 MB / 0.6823 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 (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 5.691e-05/0.3481, allocations: 105.8 kB / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.3481, allocations: 3.953 kB / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.171e-05/0.3482, allocations: 36.83 kB / 1.031 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3482, allocations: 0 / 1.031 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3482, allocations: 15.95 kB / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3482, allocations: 0 / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.377e-05/0.3483, allocations: 141.7 kB / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.3483, allocations: 0 / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.007e-05/0.3483, allocations: 0 / 1.031 GB, free: 9.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.3483, allocations: 7.953 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.779e-06/0.3483, allocations: 0 / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.3483, allocations: 0 / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3483, allocations: 0 / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.758e-05/0.3484, allocations: 61.12 kB / 1.031 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.3484, allocations: 77.11 kB / 1.031 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.3485, allocations: 7.953 kB / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.552e-06/0.3485, allocations: 0 / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.705e-06/0.3485, allocations: 0 / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.3485, allocations: 0 / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.126e-05/0.3485, allocations: 75.28 kB / 1.031 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.3485, allocations: 0 / 1.031 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000194/0.3487, allocations: 19.92 kB / 1.031 GB, free: 9.398 MB / 0.6823 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): 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.0001863/0.3489, allocations: 135.1 kB / 1.031 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 5.145e-05/0.349, allocations: 4 kB / 1.031 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.349, allocations: 4 kB / 1.031 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.849e-06/0.349, allocations: 0 / 1.031 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.718e-05/0.3491, allocations: 7.25 kB / 1.031 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001481/0.3492, allocations: 78.7 kB / 1.031 GB, free: 9.141 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.3494, allocations: 0.677 MB / 1.032 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.059e-05/0.3495, allocations: 0 / 1.032 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.127e-05/0.3495, allocations: 7.438 kB / 1.032 GB, free: 8.43 MB / 0.6823 GB Notification: Performance of SimCode: time 2.1e-07/0.3495, allocations: 4 kB / 1.032 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of Templates: time 0.002037/0.3515, allocations: 369 kB / 1.032 GB, free: 8.07 MB / 0.6823 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