Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1",fileNamePrefix="Buildings_9_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_9_Buildings.Utilities.Math.Functions.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.321/2.321, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001254/0.001254, allocations: 179.3 kB / 498.1 MB, free: 5.738 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.581/1.581, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0009429/0.0009431, allocations: 100.3 kB / 0.9346 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.000375, allocations: 10.72 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3384, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1928/0.5313, allocations: 148.7 MB / 1.368 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.5315, allocations: 83.88 kB / 1.368 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00216/0.5337, allocations: 0.7509 MB / 1.369 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5337, allocations: 0 / 1.369 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5338, allocations: 0 / 1.369 GB, free: 12.54 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002747/0.534, allocations: 319.4 kB / 1.369 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.5341, allocations: 12.03 kB / 1.369 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.265e-05/0.5342, allocations: 0 / 1.369 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.5343, allocations: 167 kB / 1.369 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.5343, allocations: 0 / 1.369 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.5343, allocations: 0 / 1.369 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.5344, allocations: 37.64 kB / 1.369 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.5344, allocations: 0 / 1.369 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.5344, allocations: 0 / 1.369 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.5344, allocations: 0 / 1.369 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.932e-05/0.5345, allocations: 0 / 1.369 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.5346, allocations: 149.6 kB / 1.37 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.936e-05/0.5347, allocations: 25.33 kB / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/0.5349, allocations: 85.17 kB / 1.37 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.5349, allocations: 38.48 kB / 1.37 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 2.695e-06/0.5349, allocations: 7.922 kB / 1.37 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001577/0.5351, allocations: 33.7 kB / 1.37 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.5352, allocations: 55.41 kB / 1.37 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.051e-05/0.5352, allocations: 85 kB / 1.37 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.5352, allocations: 25.7 kB / 1.37 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.5353, allocations: 80.27 kB / 1.37 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.5353, allocations: 7.906 kB / 1.37 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-06/0.5353, allocations: 0 / 1.37 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5354, allocations: 310.8 kB / 1.37 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.799e-06/0.5355, allocations: 4 kB / 1.37 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.348e-06/0.5355, allocations: 0 / 1.37 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.895e-05/0.5355, allocations: 3.984 kB / 1.37 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.5355, allocations: 3.953 kB / 1.37 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.319e-05/0.5356, allocations: 41.64 kB / 1.37 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.5356, allocations: 8.094 kB / 1.37 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.5356, allocations: 0 / 1.37 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.5356, allocations: 0 / 1.37 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.081e-05/0.5357, allocations: 4 kB / 1.37 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.5357, allocations: 0 / 1.37 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.06e-05/0.5357, allocations: 0 / 1.37 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.5357, allocations: 0 / 1.37 GB, free: 10.84 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 (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 7.489e-05/0.5358, allocations: 114.5 kB / 1.37 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.5358, allocations: 3.953 kB / 1.37 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.442e-05/0.5359, allocations: 52.7 kB / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.5359, allocations: 0 / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5359, allocations: 0 / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.5359, allocations: 0 / 1.371 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.595e-05/0.536, allocations: 149.7 kB / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.536, allocations: 0 / 1.371 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.97e-05/0.5361, allocations: 7.953 kB / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.5361, allocations: 0 / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.5361, allocations: 0 / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.5361, allocations: 0 / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5361, allocations: 4.031 kB / 1.371 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.926e-05/0.5362, allocations: 57.12 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.5362, allocations: 81.05 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.5363, allocations: 7.953 kB / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-06/0.5363, allocations: 0 / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.5363, allocations: 3.938 kB / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.5363, allocations: 0 / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.682e-05/0.5363, allocations: 79.31 kB / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1e-07/0.5363, allocations: 0 / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002226/0.5366, allocations: 16 kB / 1.371 GB, free: 10.17 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 (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.000231/0.5368, allocations: 126.9 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 5.813e-05/0.5369, allocations: 4 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.5369, allocations: 4.062 kB / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.37e-06/0.5369, allocations: 0 / 1.371 GB, free: 10.03 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.684e-05/0.537, allocations: 7.984 kB / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001886/0.5372, allocations: 74.77 kB / 1.371 GB, free: 9.922 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.5375, allocations: 0.6731 MB / 1.372 GB, free: 9.223 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.757e-05/0.5375, allocations: 4 kB / 1.372 GB, free: 9.219 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.242e-05/0.5375, allocations: 11.38 kB / 1.372 GB, free: 9.207 MB / 0.8698 GB Notification: Performance of SimCode: time 2.01e-07/0.5375, allocations: 0 / 1.372 GB, free: 9.207 MB / 0.8698 GB Notification: Performance of Templates: time 0.002246/0.5398, allocations: 372 kB / 1.372 GB, free: 8.844 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches