Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.265/2.265, 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.001069/0.001069, allocations: 179.9 kB / 0.4902 GB, free: 2.246 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.55/1.55, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.0008777/0.0008777, allocations: 96.31 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003724/0.0003724, allocations: 7.062 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3226, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2002/0.5229, allocations: 150.2 MB / 1.376 GB, free: 3.375 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.5233, allocations: 75.95 kB / 1.376 GB, free: 3.301 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003718/0.527, allocations: 1.048 MB / 1.377 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.845e-06/0.527, allocations: 0 / 1.377 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.527, allocations: 0 / 1.377 GB, free: 2.25 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.0004576/0.5275, allocations: 347.3 kB / 1.377 GB, free: 1.863 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.5276, allocations: 8.031 kB / 1.377 GB, free: 1.855 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.847e-05/0.5276, allocations: 7.906 kB / 1.377 GB, free: 1.848 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.5278, allocations: 167 kB / 1.378 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.5278, allocations: 0 / 1.378 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.5278, allocations: 3.984 kB / 1.378 GB, free: 1.641 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.528, allocations: 57.62 kB / 1.378 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.5281, allocations: 3.984 kB / 1.378 GB, free: 1.574 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.5281, allocations: 4 kB / 1.378 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.5281, allocations: 0 / 1.378 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.5283, allocations: 47.95 kB / 1.378 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.5288, allocations: 276.8 kB / 1.378 GB, free: 1.203 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.5289, allocations: 46.5 kB / 1.378 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/0.5292, allocations: 85.16 kB / 1.378 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.5292, allocations: 34.56 kB / 1.378 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.5292, allocations: 0 / 1.378 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0004301/0.5296, allocations: 101.6 kB / 1.378 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.5297, allocations: 51.41 kB / 1.378 GB, free: 0.8359 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.832e-05/0.5298, allocations: 93 kB / 1.378 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.5298, allocations: 25.7 kB / 1.378 GB, free: 0.707 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.918e-05/0.5299, allocations: 88.25 kB / 1.378 GB, free: 0.6172 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/0.5299, allocations: 7.906 kB / 1.378 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-06/0.5299, allocations: 0 / 1.378 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.53, allocations: 322.7 kB / 1.379 GB, free: 292 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.707e-05/0.5301, allocations: 23.92 kB / 1.379 GB, free: 268 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.705e-05/0.5302, allocations: 23.98 kB / 1.379 GB, free: 244 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.414e-05/0.5303, allocations: 23.97 kB / 1.379 GB, free: 220 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5303, allocations: 0 / 1.379 GB, free: 220 kB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002453/0.5306, allocations: 73.73 kB / 1.379 GB, free: 140 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.5306, allocations: 4 kB / 1.379 GB, free: 136 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5306, allocations: 0 / 1.379 GB, free: 136 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.5306, allocations: 3.984 kB / 1.379 GB, free: 132 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.126e-05/0.5307, allocations: 12 kB / 1.379 GB, free: 120 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.5307, allocations: 0 / 1.379 GB, free: 120 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.603e-05/0.5308, allocations: 11.98 kB / 1.379 GB, free: 108 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.5308, allocations: 4.031 kB / 1.379 GB, free: 104 kB / 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 9.982e-05/0.5309, allocations: 114.6 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.924e-05/0.531, allocations: 3.906 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002536/0.5313, allocations: 88.72 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.5313, allocations: 3.984 kB / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5313, allocations: 0 / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.5313, allocations: 0 / 1.379 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.5315, allocations: 157.6 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5315, allocations: 4 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.612e-05/0.5315, allocations: 11.98 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.5315, allocations: 0 / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.5316, allocations: 0 / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.5316, allocations: 0 / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5316, allocations: 4.031 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.5318, allocations: 175.4 kB / 1.379 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.371e-05/0.5319, allocations: 81.11 kB / 1.379 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.5319, allocations: 4.031 kB / 1.38 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.6e-05/0.532, allocations: 7.984 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.532, allocations: 4 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.5321, allocations: 0 / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.132e-05/0.5321, allocations: 83.27 kB / 1.38 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5321, allocations: 0 / 1.38 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002398/0.5324, allocations: 23.94 kB / 1.38 GB, free: 15.25 MB / 0.8855 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.0002433/0.5326, allocations: 127.4 kB / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002311/0.5328, allocations: 47.97 kB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5329, allocations: 0 / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.971e-05/0.533, allocations: 23.92 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.5332, allocations: 12.97 kB / 1.38 GB, free: 15.04 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.5335, allocations: 104.7 kB / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.5339, allocations: 0.6849 MB / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.753e-05/0.5339, allocations: 7.984 kB / 1.381 GB, free: 14.19 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.5339, allocations: 7.438 kB / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of SimCode: time 2.41e-07/0.5339, allocations: 0 / 1.381 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of Templates: time 0.002998/0.537, allocations: 0.5504 MB / 1.381 GB, free: 13.63 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches