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.423/1.423, allocations: 251.9 MB / 266.9 MB, free: 11.09 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.001168/0.001168, allocations: 182.7 kB / 326.5 MB, free: 2.285 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.605/1.605, allocations: 205.4 MB / 0.5775 GB, free: 20.58 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.0009045/0.0009044, allocations: 105.1 kB / 0.6822 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003117/0.0003117, allocations: 15.78 kB / 0.7962 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2226, allocations: 106.3 MB / 0.9001 GB, free: 64.53 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1716/0.3943, allocations: 131.9 MB / 1.029 GB, free: 12.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.3945, allocations: 67.97 kB / 1.029 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003175/0.3977, allocations: 1.051 MB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3977, allocations: 0 / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.3978, allocations: 0 / 1.03 GB, free: 11.38 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004/0.3982, allocations: 355.2 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3982, allocations: 8.031 kB / 1.03 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.3983, allocations: 3.984 kB / 1.03 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.3984, allocations: 167 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.3984, allocations: 0 / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.3984, allocations: 0 / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.3986, allocations: 61.61 kB / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3986, allocations: 0 / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3986, allocations: 0 / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.3987, allocations: 0 / 1.031 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001619/0.3988, allocations: 39.97 kB / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004281/0.3993, allocations: 280.8 kB / 1.031 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.3994, allocations: 38.56 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001772/0.3996, allocations: 93.16 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.3996, allocations: 34.5 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.3997, allocations: 0 / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003741/0.4, allocations: 101.6 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.4001, allocations: 51.41 kB / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.107e-05/0.4002, allocations: 96.97 kB / 1.031 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.4002, allocations: 25.7 kB / 1.031 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.898e-05/0.4002, allocations: 88.08 kB / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.613e-05/0.4003, allocations: 7.906 kB / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.4003, allocations: 128 / 1.031 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.4004, allocations: 318.8 kB / 1.032 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.393e-05/0.4005, allocations: 23.97 kB / 1.032 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.84e-05/0.4006, allocations: 23.92 kB / 1.032 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.164e-05/0.4007, allocations: 24.05 kB / 1.032 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4007, allocations: 7.938 kB / 1.032 GB, free: 9.344 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002154/0.4009, allocations: 73.66 kB / 1.032 GB, free: 9.266 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.4009, allocations: 8.031 kB / 1.032 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4009, allocations: 0 / 1.032 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.4009, allocations: 0 / 1.032 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.068e-05/0.401, allocations: 11.98 kB / 1.032 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.4011, allocations: 0 / 1.032 GB, free: 9.246 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.028e-05/0.4011, allocations: 8 kB / 1.032 GB, free: 9.238 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.4011, allocations: 0 / 1.032 GB, free: 9.238 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 (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 8.683e-05/0.4012, allocations: 125.8 kB / 1.032 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.4013, allocations: 0 / 1.032 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.4015, allocations: 80.72 kB / 1.032 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.4015, allocations: 0 / 1.032 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4015, allocations: 0 / 1.032 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.4015, allocations: 4.031 kB / 1.032 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/0.4017, allocations: 161.5 kB / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4017, allocations: 0 / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.337e-05/0.4018, allocations: 11.98 kB / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4018, allocations: 0 / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.4018, allocations: 4 kB / 1.032 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4018, allocations: 0 / 1.032 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4018, allocations: 0 / 1.032 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.402, allocations: 179.4 kB / 1.032 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.4021, allocations: 81.09 kB / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.4021, allocations: 8 kB / 1.032 GB, free: 8.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.406e-05/0.4022, allocations: 8.031 kB / 1.032 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.4023, allocations: 3.984 kB / 1.032 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.4023, allocations: 4 kB / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.98e-05/0.4023, allocations: 79.28 kB / 1.033 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4023, allocations: 0 / 1.033 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002277/0.4026, allocations: 19.94 kB / 1.033 GB, free: 8.383 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 (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.0002093/0.4028, allocations: 123.2 kB / 1.033 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002164/0.403, allocations: 47.95 kB / 1.033 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.403, allocations: 0 / 1.033 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.081e-05/0.4031, allocations: 31.98 kB / 1.033 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.4033, allocations: 7.891 kB / 1.033 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.4036, allocations: 108.7 kB / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.4039, allocations: 0.677 MB / 1.034 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.604e-05/0.4039, allocations: 4.062 kB / 1.034 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.978e-05/0.4039, allocations: 11.44 kB / 1.034 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.404, allocations: 0 / 1.034 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of Templates: time 0.002517/0.4065, allocations: 0.5444 MB / 1.034 GB, free: 6.773 MB / 0.6823 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