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.468/1.468, allocations: 249.5 MB / 257 MB, free: 6.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001408/0.001407, allocations: 187.5 kB / 316.3 MB, free: 3.312 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.733/1.733, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0008307/0.0008308, allocations: 100.6 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.146e-05/2.16e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1964, allocations: 106.3 MB / 0.8852 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6661/0.8625, allocations: 132.1 MB / 1.014 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.8628, allocations: 74.89 kB / 1.014 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003153/0.8659, allocations: 1.036 MB / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8659, allocations: 0 / 1.015 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.866, allocations: 0 / 1.015 GB, free: 4.855 MB / 0.6355 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.0003496/0.8663, allocations: 342.4 kB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.8664, allocations: 8.031 kB / 1.016 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.944e-05/0.8664, allocations: 4 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.8665, allocations: 171 kB / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.8666, allocations: 0 / 1.016 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.8666, allocations: 3.984 kB / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.43e-05/0.8667, allocations: 11.88 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.991e-05/0.8667, allocations: 40.08 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.8667, allocations: 0 / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.8668, allocations: 0 / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.8668, allocations: 0 / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.8672, allocations: 252 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.583e-05/0.8672, allocations: 18.58 kB / 1.016 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.438e-05/0.8673, allocations: 13.55 kB / 1.016 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/0.8674, allocations: 93.08 kB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.8675, allocations: 34.56 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.314e-06/0.8675, allocations: 0 / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001734/0.8677, allocations: 45.42 kB / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.8677, allocations: 51.41 kB / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.496e-05/0.8678, allocations: 96.67 kB / 1.016 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.8678, allocations: 25.7 kB / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.8679, allocations: 84.08 kB / 1.016 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.8679, allocations: 15.75 kB / 1.017 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.8679, allocations: 4 kB / 1.017 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.868, allocations: 314.8 kB / 1.017 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.487e-05/0.868, allocations: 4 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.009e-05/0.868, allocations: 3.938 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.999e-05/0.8681, allocations: 7.984 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.8681, allocations: 0 / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.116e-05/0.8682, allocations: 45.58 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.8682, allocations: 5.406 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.8682, allocations: 4.094 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.8682, allocations: 0 / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.931e-05/0.8683, allocations: 11.98 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.8683, allocations: 0 / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.36e-05/0.8684, allocations: 11.98 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.8684, allocations: 3.938 kB / 1.017 GB, free: 2.996 MB / 0.6355 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 () * 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.09e-05/0.8685, allocations: 104.9 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.8685, allocations: 8 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.8686, allocations: 49.33 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.8686, allocations: 0 / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.8687, allocations: 0 / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.8687, allocations: 0 / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.8688, allocations: 134.1 kB / 1.017 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.8688, allocations: 3.953 kB / 1.017 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.541e-05/0.8689, allocations: 15.92 kB / 1.017 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.8689, allocations: 4.031 kB / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.8689, allocations: 4 kB / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.8689, allocations: 0.875 kB / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8689, allocations: 0 / 1.017 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.869, allocations: 139.1 kB / 1.017 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/0.8691, allocations: 85.06 kB / 1.017 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.8691, allocations: 0 / 1.017 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.233e-05/0.8692, allocations: 12.02 kB / 1.017 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.8692, allocations: 4 kB / 1.017 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.8692, allocations: 4 kB / 1.017 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.268e-05/0.8693, allocations: 83.45 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8693, allocations: 0 / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002154/0.8695, allocations: 15.98 kB / 1.018 GB, free: 2.27 MB / 0.6355 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 () * 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.0001987/0.8697, allocations: 126.8 kB / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.648e-05/0.8698, allocations: 11.81 kB / 1.018 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.8698, allocations: 0 / 1.018 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.022e-05/0.8698, allocations: 11.98 kB / 1.018 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.87, allocations: 3.938 kB / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000186/0.8702, allocations: 59.5 kB / 1.018 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.8705, allocations: 0.6808 MB / 1.018 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.453e-05/0.8705, allocations: 4 kB / 1.018 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.805e-05/0.8705, allocations: 7.438 kB / 1.018 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of SimCode: time 2.1e-07/0.8705, allocations: 0 / 1.018 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of Templates: time 0.002388/0.8729, allocations: 0.528 MB / 1.019 GB, free: 0.8086 MB / 0.6355 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