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/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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001444/0.001444, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.326/1.326, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.593/2.593, allocations: 469.4 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 65.09 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3995, allocations: 159.1 MB / 1.064 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003506/0.4031, allocations: 1.43 MB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000564/0.4037, allocations: 159.5 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.451e-05/0.4037, allocations: 0 / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.42e-05/0.4038, allocations: 3.938 kB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.485e-05/0.4039, allocations: 3.984 kB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.4043, allocations: 35.84 kB / 1.066 GB, free: 13.35 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.197e-05/0.4043, allocations: 23.94 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.4045, allocations: 7.984 kB / 1.066 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.896e-05/0.4045, allocations: 7.984 kB / 1.066 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.584e-05/0.4046, allocations: 15.92 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.4046, allocations: 4 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.4048, allocations: 35.91 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.025e-05/0.4048, allocations: 4 kB / 1.066 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.4048, allocations: 7.938 kB / 1.066 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002136/0.4051, allocations: 47.92 kB / 1.066 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4051, allocations: 8 kB / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4051, allocations: 0 / 1.066 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.4051, allocations: 0 / 1.066 GB, free: 13.19 MB / 0.8419 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.0005674/0.4057, allocations: 343.7 kB / 1.066 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.4057, allocations: 12.56 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.764e-05/0.4058, allocations: 4.844 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.406, allocations: 172.3 kB / 1.066 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.406, allocations: 384 / 1.066 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.406, allocations: 384 / 1.066 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.4063, allocations: 54.23 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.4063, allocations: 192 / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.4063, allocations: 3.938 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.4063, allocations: 0 / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/0.4065, allocations: 35.95 kB / 1.067 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.4069, allocations: 244.9 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.4071, allocations: 46.47 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.4072, allocations: 24.91 kB / 1.067 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/0.4074, allocations: 85.09 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.4075, allocations: 30.56 kB / 1.067 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 3.587e-06/0.4075, allocations: 4 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0004259/0.4079, allocations: 85.58 kB / 1.067 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.408, allocations: 51.41 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.4081, allocations: 93.86 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.4081, allocations: 29.69 kB / 1.067 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/0.4082, allocations: 88.05 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.4082, allocations: 4.125 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.259e-05/0.4082, allocations: 13.72 kB / 1.067 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4084, allocations: 314.8 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.209e-05/0.4085, allocations: 23.97 kB / 1.068 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.012e-05/0.4086, allocations: 15.98 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.4087, allocations: 40.89 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.4087, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002372/0.409, allocations: 77.44 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.409, allocations: 4 kB / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.409, allocations: 0 / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.409, allocations: 0 / 1.068 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.78e-05/0.4092, allocations: 11.98 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.4092, allocations: 0 / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.337e-05/0.4092, allocations: 8.031 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.4092, allocations: 7.922 kB / 1.068 GB, free: 11.05 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.397e-05/0.4093, allocations: 118.3 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/0.4094, allocations: 4 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002397/0.4096, allocations: 64.78 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.4097, allocations: 3.938 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.4097, allocations: 4.031 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.4097, allocations: 0 / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/0.4099, allocations: 165.5 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4099, allocations: 3.984 kB / 1.068 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.4099, allocations: 8 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.41, allocations: 192 / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.41, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.41, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.41, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.4103, allocations: 171.4 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-05/0.4103, allocations: 92.94 kB / 1.068 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.4104, allocations: 0 / 1.068 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/0.4104, allocations: 4 kB / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.4105, allocations: 7.984 kB / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.4105, allocations: 0 / 1.068 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.022e-05/0.4106, allocations: 83.31 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4106, allocations: 3.938 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002577/0.4108, allocations: 12 kB / 1.069 GB, free: 10.22 MB / 0.8419 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 (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.0002201/0.4111, allocations: 107.2 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.4113, allocations: 35.97 kB / 1.069 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.4113, allocations: 4.062 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.457e-05/0.4114, allocations: 23.97 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.4118, allocations: 3.938 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.4121, allocations: 131.2 kB / 1.069 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.4124, allocations: 0.6767 MB / 1.069 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.981e-05/0.4125, allocations: 11.44 kB / 1.069 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.4125, allocations: 4.062 kB / 1.069 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of Templates: time 0.002551/0.415, allocations: 0.7612 MB / 1.07 GB, free: 8.402 MB / 0.8419 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches