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.008873/0.008873, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001985/0.001985, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 15.06 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.502/2.502, allocations: 437 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 68.09 kB / 1.019 GB, free: 9.309 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8663/0.8684, allocations: 151.6 MB / 1.167 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001584/0.87, allocations: 0.5987 MB / 1.167 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0004291/0.8705, allocations: 101.5 kB / 1.167 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.276e-05/0.8705, allocations: 0 / 1.167 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.263e-05/0.8705, allocations: 0 / 1.167 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.263e-06/0.8705, allocations: 8 kB / 1.167 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.8709, allocations: 31.89 kB / 1.167 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 3.746e-05/0.8709, allocations: 3.938 kB / 1.167 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.871, allocations: 4 kB / 1.167 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.814e-05/0.871, allocations: 4 kB / 1.167 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.964e-05/0.871, allocations: 0 / 1.167 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.648e-06/0.871, allocations: 0 / 1.167 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.8712, allocations: 31.97 kB / 1.167 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.8712, allocations: 0 / 1.167 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.978e-05/0.8712, allocations: 3.984 kB / 1.167 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.8714, allocations: 27.91 kB / 1.167 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.8714, allocations: 4 kB / 1.167 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.976e-06/0.8714, allocations: 3.984 kB / 1.167 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.8714, allocations: 0 / 1.167 GB, free: 2.98 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.0002757/0.8717, allocations: 316 kB / 1.168 GB, free: 2.625 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.8717, allocations: 12.92 kB / 1.168 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.862e-05/0.8718, allocations: 0.9375 kB / 1.168 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.616e-05/0.8719, allocations: 164.4 kB / 1.168 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.8719, allocations: 384 / 1.168 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-06/0.8719, allocations: 4.312 kB / 1.168 GB, free: 2.41 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.626e-05/0.872, allocations: 38.27 kB / 1.168 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.872, allocations: 192 / 1.168 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.872, allocations: 3.938 kB / 1.168 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.872, allocations: 0 / 1.168 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.507e-05/0.872, allocations: 0 / 1.168 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001267/0.8721, allocations: 149.6 kB / 1.168 GB, free: 2.168 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.246e-05/0.8722, allocations: 18.56 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.576e-05/0.8722, allocations: 12.94 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.8724, allocations: 85.11 kB / 1.168 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.8724, allocations: 38.55 kB / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.8724, allocations: 0 / 1.168 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001265/0.8726, allocations: 41.53 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.8726, allocations: 51.41 kB / 1.168 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.212e-05/0.8727, allocations: 89.86 kB / 1.168 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.8727, allocations: 25.7 kB / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.566e-05/0.8727, allocations: 84.27 kB / 1.169 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.8727, allocations: 4 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.8728, allocations: 13.72 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.8729, allocations: 314.8 kB / 1.169 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.616e-06/0.8729, allocations: 0 / 1.169 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.081e-06/0.8729, allocations: 4 kB / 1.169 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.006e-05/0.8729, allocations: 4.859 kB / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.8729, allocations: 64 / 1.169 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.052e-05/0.873, allocations: 45.64 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.873, allocations: 4 kB / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.873, allocations: 0 / 1.169 GB, free: 1.246 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.873, allocations: 3.938 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.431e-05/0.8731, allocations: 4 kB / 1.169 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.8731, allocations: 3.984 kB / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.066e-05/0.8731, allocations: 0 / 1.169 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-06/0.8731, allocations: 3.938 kB / 1.169 GB, free: 1.23 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 5.566e-05/0.8732, allocations: 113.9 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.8732, allocations: 0 / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.301e-05/0.8733, allocations: 44.77 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.8733, allocations: 0 / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.8733, allocations: 0 / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.8733, allocations: 3.984 kB / 1.169 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.943e-05/0.8734, allocations: 153.6 kB / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.8734, allocations: 0 / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.301e-05/0.8734, allocations: 4 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.8734, allocations: 0 / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-06/0.8734, allocations: 11.91 kB / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.8734, allocations: 0 / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.8734, allocations: 0 / 1.169 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.734e-05/0.8735, allocations: 61.12 kB / 1.169 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.8736, allocations: 77.11 kB / 1.169 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.8736, allocations: 3.938 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-06/0.8736, allocations: 0 / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-06/0.8736, allocations: 0 / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/0.8736, allocations: 4.031 kB / 1.169 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 2.36e-05/0.8736, allocations: 77.75 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8736, allocations: 0 / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001993/0.8739, allocations: 11.98 kB / 1.169 GB, free: 0.5703 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.0001615/0.874, allocations: 119.1 kB / 1.17 GB, free: 452 kB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 6.216e-05/0.8741, allocations: 8 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8741, allocations: 0 / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 7.393e-06/0.8741, allocations: 3.984 kB / 1.17 GB, free: 440 kB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.8742, allocations: 4 kB / 1.17 GB, free: 436 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000161/0.8744, allocations: 76.94 kB / 1.17 GB, free: 332 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.8746, allocations: 0.669 MB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.104e-05/0.8747, allocations: 4 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.8747, allocations: 7.438 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.8747, allocations: 128 / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of Templates: time 0.002193/0.8769, allocations: 396.5 kB / 1.171 GB, free: 15.23 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 -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/jenkins/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