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.001454/0.001454, allocations: 108.8 kB / 16.41 MB, free: 6.496 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.001632/0.001632, allocations: 187 kB / 17.34 MB, free: 5.766 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.1 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.416/2.416, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 67.91 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8682/0.8697, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001691/0.8715, allocations: 0.5889 MB / 1.168 GB, free: 3.266 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003521/0.8718, allocations: 107.5 kB / 1.168 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.186e-05/0.8719, allocations: 0 / 1.168 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.082e-05/0.8719, allocations: 0 / 1.168 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.53e-06/0.8719, allocations: 4 kB / 1.168 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.8722, allocations: 23.92 kB / 1.168 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 3.776e-05/0.8723, allocations: 4 kB / 1.168 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.8723, allocations: 0 / 1.168 GB, free: 3.129 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.564e-05/0.8724, allocations: 4 kB / 1.168 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.195e-05/0.8724, allocations: 7.969 kB / 1.168 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.8724, allocations: 3.938 kB / 1.168 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.8725, allocations: 31.97 kB / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.975e-06/0.8726, allocations: 0 / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.8726, allocations: 0 / 1.168 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001116/0.8727, allocations: 31.95 kB / 1.168 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.8727, allocations: 0 / 1.168 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.472e-06/0.8727, allocations: 0 / 1.168 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.8727, allocations: 4 kB / 1.168 GB, free: 3.047 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.0003094/0.873, allocations: 319.5 kB / 1.168 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.8731, allocations: 16.86 kB / 1.168 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/0.8731, allocations: 4.922 kB / 1.168 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.744e-05/0.8732, allocations: 160.4 kB / 1.169 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.8732, allocations: 384 / 1.169 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.232e-06/0.8733, allocations: 384 / 1.169 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.716e-05/0.8734, allocations: 34.25 kB / 1.169 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.8e-06/0.8734, allocations: 192 / 1.169 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.8734, allocations: 7.938 kB / 1.169 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.8734, allocations: 0 / 1.169 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.635e-05/0.8734, allocations: 0 / 1.169 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001313/0.8735, allocations: 153.7 kB / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.362e-05/0.8736, allocations: 18.52 kB / 1.169 GB, free: 2.195 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.39e-05/0.8736, allocations: 4.859 kB / 1.169 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002028/0.8738, allocations: 85.19 kB / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.8739, allocations: 38.56 kB / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.8739, allocations: 0 / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001375/0.874, allocations: 37.64 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.8741, allocations: 55.34 kB / 1.169 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.776e-05/0.8741, allocations: 93.8 kB / 1.169 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.8742, allocations: 25.7 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 9.101e-05/0.8742, allocations: 80.14 kB / 1.169 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.8743, allocations: 128 / 1.169 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.8743, allocations: 21.7 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.8745, allocations: 310.8 kB / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.026e-05/0.8745, allocations: 4 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-06/0.8745, allocations: 4 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.236e-05/0.8745, allocations: 4.859 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8745, allocations: 0 / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.202e-05/0.8746, allocations: 37.64 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.8746, allocations: 8.094 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.8746, allocations: 3.984 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.8746, allocations: 3.938 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.716e-05/0.8747, allocations: 4 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.8747, allocations: 0 / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.498e-06/0.8747, allocations: 0 / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.8747, allocations: 0 / 1.17 GB, free: 1.297 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 7.008e-05/0.8748, allocations: 113.8 kB / 1.17 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.897e-05/0.8748, allocations: 3.906 kB / 1.17 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.448e-05/0.8749, allocations: 48.75 kB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.8749, allocations: 4 kB / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.8749, allocations: 0 / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.8749, allocations: 0 / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.717e-05/0.875, allocations: 141.7 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.875, allocations: 0 / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.592e-05/0.875, allocations: 11.94 kB / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.875, allocations: 0 / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.875, allocations: 3.938 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.875, allocations: 3.984 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.875, allocations: 4.031 kB / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.003e-05/0.8751, allocations: 57.14 kB / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.8752, allocations: 77.11 kB / 1.17 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.8752, allocations: 3.938 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-06/0.8752, allocations: 0 / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.138e-05/0.8752, allocations: 3.984 kB / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-06/0.8752, allocations: 0 / 1.17 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 2.481e-05/0.8752, allocations: 81.78 kB / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of sort global known variables: time 9e-08/0.8752, allocations: 0 / 1.17 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001955/0.8754, allocations: 8 kB / 1.17 GB, free: 0.6367 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.0001862/0.8756, allocations: 115.2 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 6.919e-05/0.8757, allocations: 11.94 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.8757, allocations: 8 kB / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 5.581e-06/0.8757, allocations: 0 / 1.17 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.8759, allocations: 6.234 kB / 1.17 GB, free: 500 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001789/0.8761, allocations: 98.64 kB / 1.17 GB, free: 368 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.8764, allocations: 0.6729 MB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.362e-05/0.8764, allocations: 7.438 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.8764, allocations: 4 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of Templates: time 0.001843/0.8783, allocations: 0.5435 MB / 1.172 GB, free: 15.11 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/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