Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.387/2.387, allocations: 393.5 MB / 408.4 MB, free: 10.97 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.001419/0.001419, allocations: 178.6 kB / 0.4902 GB, free: 2.211 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.572/1.572, allocations: 223.2 MB / 0.7992 GB, free: 14.76 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.0009307/0.0009306, allocations: 102.9 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005273/0.0005273, allocations: 14.78 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3799, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2022/0.5821, allocations: 149.5 MB / 1.375 GB, free: 4.051 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/0.5825, allocations: 83.94 kB / 1.375 GB, free: 3.969 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002253/0.5848, allocations: 0.7504 MB / 1.376 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5848, allocations: 0 / 1.376 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.5848, allocations: 0 / 1.376 GB, free: 3.215 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.0002678/0.5851, allocations: 315.3 kB / 1.376 GB, free: 2.859 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.5852, allocations: 12.09 kB / 1.376 GB, free: 2.848 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.821e-05/0.5852, allocations: 0 / 1.376 GB, free: 2.848 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.5853, allocations: 171 kB / 1.377 GB, free: 2.641 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.5854, allocations: 0 / 1.377 GB, free: 2.641 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.5854, allocations: 4 kB / 1.377 GB, free: 2.637 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.51e-05/0.5855, allocations: 29.7 kB / 1.377 GB, free: 2.602 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.5855, allocations: 0 / 1.377 GB, free: 2.602 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.5855, allocations: 0 / 1.377 GB, free: 2.602 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.5855, allocations: 0 / 1.377 GB, free: 2.602 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.784e-05/0.5855, allocations: 0 / 1.377 GB, free: 2.602 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.5857, allocations: 153.6 kB / 1.377 GB, free: 2.402 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.385e-05/0.5858, allocations: 23.36 kB / 1.377 GB, free: 2.371 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/0.586, allocations: 89.19 kB / 1.377 GB, free: 2.266 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.586, allocations: 42.55 kB / 1.377 GB, free: 2.215 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.586, allocations: 0 / 1.377 GB, free: 2.215 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001431/0.5862, allocations: 29.7 kB / 1.377 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.5862, allocations: 51.41 kB / 1.377 GB, free: 2.117 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.038e-05/0.5862, allocations: 85 kB / 1.377 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.5863, allocations: 25.83 kB / 1.377 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.5863, allocations: 88.12 kB / 1.377 GB, free: 1.906 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.5864, allocations: 3.938 kB / 1.377 GB, free: 1.902 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.5864, allocations: 0 / 1.377 GB, free: 1.902 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5865, allocations: 314.8 kB / 1.377 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.162e-05/0.5865, allocations: 4 kB / 1.377 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.147e-06/0.5865, allocations: 3.938 kB / 1.377 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.009e-05/0.5866, allocations: 3.984 kB / 1.377 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.5866, allocations: 7.953 kB / 1.377 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.907e-05/0.5866, allocations: 33.77 kB / 1.377 GB, free: 1.527 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.5867, allocations: 4 kB / 1.377 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5867, allocations: 3.938 kB / 1.377 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.5867, allocations: 0 / 1.377 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.514e-05/0.5867, allocations: 4 kB / 1.377 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.647e-06/0.5868, allocations: 7.984 kB / 1.377 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.738e-06/0.5868, allocations: 0 / 1.377 GB, free: 1.508 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.5868, allocations: 0 / 1.377 GB, free: 1.508 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.357e-05/0.5869, allocations: 106.6 kB / 1.378 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.5869, allocations: 19.91 kB / 1.378 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.092e-05/0.587, allocations: 36.83 kB / 1.378 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.587, allocations: 0 / 1.378 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.587, allocations: 0 / 1.378 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.587, allocations: 0 / 1.378 GB, free: 1.336 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.5871, allocations: 145.7 kB / 1.378 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.5871, allocations: 0 / 1.378 GB, free: 1.145 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.393e-05/0.5871, allocations: 7.953 kB / 1.378 GB, free: 1.137 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.5872, allocations: 0 / 1.378 GB, free: 1.137 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.5872, allocations: 0 / 1.378 GB, free: 1.137 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.5872, allocations: 4.031 kB / 1.378 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.5872, allocations: 0 / 1.378 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.503e-05/0.5873, allocations: 68.97 kB / 1.378 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.5873, allocations: 77.11 kB / 1.378 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.5873, allocations: 3.953 kB / 1.378 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-06/0.5873, allocations: 0 / 1.378 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.5874, allocations: 0 / 1.378 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.5874, allocations: 4.031 kB / 1.378 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.963e-05/0.5874, allocations: 79.28 kB / 1.378 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5874, allocations: 0 / 1.378 GB, free: 0.8672 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001938/0.5876, allocations: 15.94 kB / 1.378 GB, free: 0.8516 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.0002476/0.5879, allocations: 119.2 kB / 1.378 GB, free: 0.7266 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.271e-05/0.5879, allocations: 12 kB / 1.378 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.5879, allocations: 0 / 1.378 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.133e-06/0.588, allocations: 3.938 kB / 1.378 GB, free: 0.7109 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.627e-05/0.5881, allocations: 9.109 kB / 1.378 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002268/0.5883, allocations: 74.7 kB / 1.378 GB, free: 0.6016 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.5886, allocations: 0.6731 MB / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 1.487e-05/0.5886, allocations: 4 kB / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.333e-05/0.5886, allocations: 7.438 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.5886, allocations: 4.125 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of Templates: time 0.002398/0.591, allocations: 371.8 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches