Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 110.3 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 189.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.373/2.373, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 63.91 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6823/0.6841, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001535/0.6857, allocations: 0.5712 MB / 1.168 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003373/0.6861, allocations: 103.6 kB / 1.168 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.77e-05/0.6861, allocations: 4 kB / 1.168 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.133e-05/0.6861, allocations: 3.938 kB / 1.168 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.43e-06/0.6861, allocations: 0 / 1.168 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.6864, allocations: 31.89 kB / 1.168 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 3.971e-05/0.6865, allocations: 0 / 1.168 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.6865, allocations: 4 kB / 1.168 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.128e-05/0.6865, allocations: 0 / 1.168 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.471e-05/0.6866, allocations: 0 / 1.168 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 7.444e-06/0.6866, allocations: 4 kB / 1.168 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.6867, allocations: 39.89 kB / 1.168 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.705e-06/0.6867, allocations: 0 / 1.168 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.545e-05/0.6867, allocations: 4 kB / 1.168 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.6869, allocations: 23.97 kB / 1.168 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.6869, allocations: 3.938 kB / 1.168 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6869, allocations: 0 / 1.168 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.6869, allocations: 4 kB / 1.168 GB, free: 3.023 MB / 0.8887 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.0003155/0.6872, allocations: 316.1 kB / 1.168 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.6872, allocations: 8.922 kB / 1.168 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.6873, allocations: 4.938 kB / 1.168 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.6874, allocations: 168.3 kB / 1.169 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.6874, allocations: 384 / 1.169 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.6874, allocations: 384 / 1.169 GB, free: 2.453 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.396e-05/0.6875, allocations: 30.27 kB / 1.169 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.6875, allocations: 4.172 kB / 1.169 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.6876, allocations: 3.938 kB / 1.169 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.6876, allocations: 3.984 kB / 1.169 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.776e-05/0.6876, allocations: 4 kB / 1.169 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001453/0.6877, allocations: 153.7 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.302e-05/0.6878, allocations: 18.52 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/0.6878, allocations: 12.95 kB / 1.169 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002032/0.688, allocations: 85.09 kB / 1.169 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.6881, allocations: 34.56 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.6881, allocations: 0 / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001331/0.6882, allocations: 45.58 kB / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.6882, allocations: 51.41 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.732e-05/0.6883, allocations: 89.86 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.6883, allocations: 29.64 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/0.6883, allocations: 80.14 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.6884, allocations: 4 kB / 1.169 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.6884, allocations: 13.72 kB / 1.169 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.6885, allocations: 310.8 kB / 1.17 GB, free: 1.352 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-06/0.6886, allocations: 4.125 kB / 1.17 GB, free: 1.348 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-06/0.6886, allocations: 4 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.462e-05/0.6886, allocations: 4.859 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.6886, allocations: 0 / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.399e-05/0.6887, allocations: 37.69 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.6887, allocations: 4 kB / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.6887, allocations: 0 / 1.17 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.6887, allocations: 3.938 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.446e-05/0.6888, allocations: 8.031 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.6888, allocations: 4 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.147e-05/0.6888, allocations: 4 kB / 1.17 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-06/0.6888, allocations: 0 / 1.17 GB, free: 1.27 MB / 0.8887 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.819e-05/0.6889, allocations: 109.8 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.6889, allocations: 4 kB / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.747e-05/0.689, allocations: 48.62 kB / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.689, allocations: 0 / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.689, allocations: 0 / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.689, allocations: 4.031 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.6891, allocations: 153.6 kB / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.6891, allocations: 0 / 1.17 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.207e-05/0.6891, allocations: 4 kB / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.6891, allocations: 0 / 1.17 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.024e-06/0.6891, allocations: 3.938 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.6891, allocations: 0 / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.6891, allocations: 3.938 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.577e-05/0.6892, allocations: 61.12 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.907e-05/0.6893, allocations: 77.11 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.006e-05/0.6893, allocations: 3.938 kB / 1.17 GB, free: 0.6992 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.126e-06/0.6893, allocations: 4 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.6893, allocations: 0 / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.6893, allocations: 0 / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 3.579e-05/0.6894, allocations: 77.75 kB / 1.17 GB, free: 0.6211 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6894, allocations: 4 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001788/0.6895, allocations: 4 kB / 1.17 GB, free: 0.6133 MB / 0.8887 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001769/0.6897, allocations: 119.2 kB / 1.17 GB, free: 496 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 6.906e-05/0.6898, allocations: 7.938 kB / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6898, allocations: 0 / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 5.099e-06/0.6898, allocations: 0 / 1.17 GB, free: 488 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001201/0.69, allocations: 8.734 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001699/0.6901, allocations: 89.05 kB / 1.17 GB, free: 368 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.6904, allocations: 0.669 MB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.138e-05/0.6904, allocations: 4 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.123e-05/0.6905, allocations: 7.438 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.6905, allocations: 0 / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of Templates: time 0.002385/0.6928, allocations: 408.3 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches