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.001493/0.001493, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001717/0.001717, allocations: 192.1 kB / 16.14 MB, free: 6.719 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.48/1.48, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.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.772/2.772, allocations: 437 MB / 0.7099 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 72.11 kB / 0.8686 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6327/0.6348, allocations: 151.6 MB / 1.017 GB, free: 2.859 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.002564/0.6374, allocations: 0.6659 MB / 1.017 GB, free: 2.191 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005462/0.638, allocations: 99.7 kB / 1.017 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.471e-05/0.638, allocations: 0 / 1.017 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.329e-05/0.6381, allocations: 4 kB / 1.017 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.352e-06/0.6381, allocations: 0 / 1.017 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.6385, allocations: 35.89 kB / 1.017 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.972e-05/0.6386, allocations: 0 / 1.017 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.313e-05/0.6386, allocations: 0 / 1.017 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.582e-05/0.6386, allocations: 0 / 1.017 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.148e-05/0.6387, allocations: 4 kB / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.6387, allocations: 0 / 1.017 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001969/0.6389, allocations: 35.91 kB / 1.017 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.095e-06/0.6389, allocations: 0 / 1.017 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.825e-05/0.6389, allocations: 15.92 kB / 1.017 GB, free: 2 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.6391, allocations: 31.97 kB / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.6391, allocations: 0 / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.72e-07/0.6391, allocations: 0 / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.6391, allocations: 0 / 1.018 GB, free: 1.969 MB / 0.7637 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.0003842/0.6395, allocations: 315.6 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.6395, allocations: 8.031 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.599e-05/0.6396, allocations: 4.844 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.6397, allocations: 160.4 kB / 1.018 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.6397, allocations: 4.375 kB / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.6397, allocations: 8.312 kB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.361e-05/0.6398, allocations: 30.25 kB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.6399, allocations: 192 / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.6399, allocations: 7.922 kB / 1.018 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.6399, allocations: 0 / 1.018 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.252e-05/0.6399, allocations: 8 kB / 1.018 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001577/0.6401, allocations: 141.7 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.34e-05/0.6401, allocations: 18.61 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.686e-05/0.6401, allocations: 12.8 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002311/0.6404, allocations: 89.16 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.6404, allocations: 34.5 kB / 1.018 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.623e-06/0.6404, allocations: 0 / 1.018 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001516/0.6406, allocations: 37.62 kB / 1.018 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.6406, allocations: 51.41 kB / 1.018 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.681e-05/0.6407, allocations: 89.86 kB / 1.018 GB, free: 0.7578 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.6407, allocations: 33.83 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/0.6408, allocations: 80.14 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.6408, allocations: 0 / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-05/0.6408, allocations: 17.66 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.641, allocations: 310.8 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.243e-05/0.641, allocations: 7.938 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.114e-06/0.641, allocations: 3.984 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.943e-05/0.641, allocations: 12.92 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.641, allocations: 0 / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.066e-05/0.6411, allocations: 29.7 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.6411, allocations: 4 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.6411, allocations: 0 / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.6412, allocations: 3.938 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.944e-05/0.6412, allocations: 8 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.6412, allocations: 0 / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.025e-05/0.6412, allocations: 0 / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.6412, allocations: 0 / 1.019 GB, free: 228 kB / 0.7637 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 8.155e-05/0.6413, allocations: 122.6 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.6414, allocations: 0 / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.683e-05/0.6414, allocations: 36.77 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.6415, allocations: 0 / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.6415, allocations: 0 / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.6415, allocations: 0 / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.6416, allocations: 149.7 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.6416, allocations: 4 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.435e-05/0.6417, allocations: 0 / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6417, allocations: 4.031 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.6417, allocations: 7.938 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6417, allocations: 0 / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6417, allocations: 0 / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.642e-05/0.6418, allocations: 61.06 kB / 1.019 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.6418, allocations: 77.11 kB / 1.019 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.6419, allocations: 7.938 kB / 1.019 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.494e-06/0.6419, allocations: 0 / 1.019 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.116e-05/0.6419, allocations: 4.031 kB / 1.019 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-06/0.6419, allocations: 4 kB / 1.019 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.893e-05/0.6419, allocations: 75.28 kB / 1.019 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6419, allocations: 3.938 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002203/0.6422, allocations: 8 kB / 1.02 GB, free: 15.57 MB / 0.7794 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.0002127/0.6424, allocations: 115.2 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.264e-05/0.6425, allocations: 8 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6425, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.034e-05/0.6425, allocations: 7.938 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.6426, allocations: 1.547 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001979/0.6429, allocations: 78.66 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.6432, allocations: 0.6731 MB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.56e-05/0.6432, allocations: 4 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.49e-05/0.6432, allocations: 7.562 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.6432, allocations: 4 kB / 1.02 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of Templates: time 0.002748/0.646, allocations: 388.5 kB / 1.021 GB, free: 14.23 MB / 0.7794 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=400 -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