Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.416/2.416, allocations: 390.3 MB / 405.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 181 kB / 498.1 MB, free: 5.508 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.752/1.752, allocations: 223.2 MB / 0.7949 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001116, allocations: 96.31 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003493, allocations: 15.7 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3359, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1938/0.5298, allocations: 149.4 MB / 1.369 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.5301, allocations: 75.91 kB / 1.369 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003189/0.5333, allocations: 1.039 MB / 1.37 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.615e-06/0.5333, allocations: 0 / 1.37 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.5334, allocations: 4 kB / 1.37 GB, free: 11.48 MB / 0.8698 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.0004044/0.5338, allocations: 359.1 kB / 1.37 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.5338, allocations: 8.031 kB / 1.37 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.268e-05/0.5339, allocations: 0 / 1.37 GB, free: 11.08 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.534, allocations: 171 kB / 1.37 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.534, allocations: 0 / 1.37 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.836e-06/0.534, allocations: 0 / 1.37 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.5342, allocations: 61.66 kB / 1.37 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.5342, allocations: 3.938 kB / 1.37 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.5343, allocations: 0 / 1.37 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.5343, allocations: 0 / 1.37 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.5344, allocations: 43.97 kB / 1.371 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.5349, allocations: 272.8 kB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.535, allocations: 46.56 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001897/0.5352, allocations: 85.16 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.5353, allocations: 34.56 kB / 1.371 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.5353, allocations: 3.938 kB / 1.371 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0004001/0.5357, allocations: 101.6 kB / 1.371 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.5357, allocations: 51.41 kB / 1.371 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.61e-05/0.5358, allocations: 96.98 kB / 1.371 GB, free: 9.969 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.5358, allocations: 25.7 kB / 1.371 GB, free: 9.938 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.5359, allocations: 88.17 kB / 1.371 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.5359, allocations: 4 kB / 1.371 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.5359, allocations: 4 kB / 1.371 GB, free: 9.84 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.5361, allocations: 314.8 kB / 1.372 GB, free: 9.523 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-05/0.5362, allocations: 15.98 kB / 1.372 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.493e-05/0.5362, allocations: 31.97 kB / 1.372 GB, free: 9.477 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.27e-05/0.5363, allocations: 15.98 kB / 1.372 GB, free: 9.461 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.5363, allocations: 4 kB / 1.372 GB, free: 9.457 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002034/0.5365, allocations: 89.56 kB / 1.372 GB, free: 9.363 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.5366, allocations: 4 kB / 1.372 GB, free: 9.359 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.5366, allocations: 0 / 1.372 GB, free: 9.359 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.5366, allocations: 0 / 1.372 GB, free: 9.359 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.945e-05/0.5367, allocations: 11.98 kB / 1.372 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.5367, allocations: 0 / 1.372 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.286e-05/0.5368, allocations: 12.03 kB / 1.372 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.5368, allocations: 0 / 1.372 GB, free: 9.336 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.828e-05/0.5369, allocations: 113.8 kB / 1.372 GB, free: 9.215 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.5369, allocations: 3.984 kB / 1.372 GB, free: 9.211 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.5371, allocations: 84.78 kB / 1.372 GB, free: 9.121 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5372, allocations: 0 / 1.372 GB, free: 9.121 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.5372, allocations: 0 / 1.372 GB, free: 9.121 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.5372, allocations: 0 / 1.372 GB, free: 9.121 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.5373, allocations: 157.6 kB / 1.372 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5374, allocations: 0 / 1.372 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.898e-05/0.5374, allocations: 15.92 kB / 1.372 GB, free: 8.902 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.5374, allocations: 0 / 1.372 GB, free: 8.902 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.5374, allocations: 4 kB / 1.372 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.5375, allocations: 8.031 kB / 1.372 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5375, allocations: 0 / 1.372 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002483/0.5377, allocations: 175.4 kB / 1.372 GB, free: 8.703 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.183e-05/0.5378, allocations: 85.05 kB / 1.372 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.5378, allocations: 7.938 kB / 1.372 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.5379, allocations: 7.984 kB / 1.372 GB, free: 8.586 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.5379, allocations: 0 / 1.372 GB, free: 8.586 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.5379, allocations: 4 kB / 1.372 GB, free: 8.582 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.509e-05/0.538, allocations: 79.27 kB / 1.372 GB, free: 8.504 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.538, allocations: 0 / 1.372 GB, free: 8.504 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002155/0.5382, allocations: 23.94 kB / 1.372 GB, free: 8.48 MB / 0.8698 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 (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.0002151/0.5384, allocations: 131.3 kB / 1.373 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002107/0.5386, allocations: 47.97 kB / 1.373 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5386, allocations: 0 / 1.373 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 9.022e-05/0.5387, allocations: 27.97 kB / 1.373 GB, free: 8.27 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.5389, allocations: 3.953 kB / 1.373 GB, free: 8.266 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000281/0.5392, allocations: 112.8 kB / 1.373 GB, free: 8.121 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.5395, allocations: 0.6809 MB / 1.373 GB, free: 7.414 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.399e-05/0.5396, allocations: 3.984 kB / 1.373 GB, free: 7.41 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.909e-05/0.5396, allocations: 11.44 kB / 1.373 GB, free: 7.398 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/0.5396, allocations: 0 / 1.373 GB, free: 7.398 MB / 0.8698 GB Notification: Performance of Templates: time 0.002662/0.5423, allocations: 0.5407 MB / 1.374 GB, free: 6.859 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","../files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches