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.001292/0.001292, allocations: 108.8 kB / 15.99 MB, free: 6.359 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.001448/0.001448, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.354/1.354, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.437/2.437, allocations: 437 MB / 0.7107 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 71.45 kB / 0.8694 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3287, allocations: 151.6 MB / 1.017 GB, free: 11.04 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.00225/0.331, allocations: 0.6395 MB / 1.018 GB, free: 10.39 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003992/0.3315, allocations: 99.58 kB / 1.018 GB, free: 10.29 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.103e-05/0.3315, allocations: 0 / 1.018 GB, free: 10.29 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.3315, allocations: 0 / 1.018 GB, free: 10.29 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.442e-06/0.3315, allocations: 0 / 1.018 GB, free: 10.29 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.3319, allocations: 35.95 kB / 1.018 GB, free: 10.26 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.027e-05/0.332, allocations: 8 kB / 1.018 GB, free: 10.25 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.135e-05/0.3321, allocations: 4 kB / 1.018 GB, free: 10.25 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.925e-05/0.3321, allocations: 3.938 kB / 1.018 GB, free: 10.24 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.05e-05/0.3321, allocations: 0 / 1.018 GB, free: 10.24 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.3321, allocations: 3.938 kB / 1.018 GB, free: 10.24 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/0.3323, allocations: 43.89 kB / 1.018 GB, free: 10.2 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.078e-05/0.3323, allocations: 0 / 1.018 GB, free: 10.2 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.3324, allocations: 0 / 1.018 GB, free: 10.2 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.3325, allocations: 23.91 kB / 1.018 GB, free: 10.17 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3325, allocations: 0 / 1.018 GB, free: 10.17 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3325, allocations: 0 / 1.018 GB, free: 10.17 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.3325, allocations: 4 kB / 1.018 GB, free: 10.17 MB / 0.795 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.0003482/0.3329, allocations: 321.6 kB / 1.019 GB, free: 9.805 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.3329, allocations: 8.922 kB / 1.019 GB, free: 9.797 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.904e-05/0.333, allocations: 4.922 kB / 1.019 GB, free: 9.793 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.857e-05/0.3331, allocations: 160.4 kB / 1.019 GB, free: 9.598 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-06/0.3331, allocations: 4.375 kB / 1.019 GB, free: 9.594 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.3331, allocations: 384 / 1.019 GB, free: 9.594 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.62e-05/0.3332, allocations: 26.27 kB / 1.019 GB, free: 9.562 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.3332, allocations: 4.188 kB / 1.019 GB, free: 9.559 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3332, allocations: 3.938 kB / 1.019 GB, free: 9.555 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3332, allocations: 0 / 1.019 GB, free: 9.555 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.283e-05/0.3333, allocations: 7.938 kB / 1.019 GB, free: 9.547 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.3334, allocations: 149.7 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.936e-05/0.3335, allocations: 18.61 kB / 1.019 GB, free: 9.324 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.7e-05/0.3335, allocations: 4.859 kB / 1.019 GB, free: 9.316 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002346/0.3337, allocations: 85.16 kB / 1.019 GB, free: 9.215 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.3338, allocations: 38.56 kB / 1.019 GB, free: 9.168 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.3338, allocations: 0 / 1.019 GB, free: 9.168 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001511/0.3339, allocations: 37.58 kB / 1.019 GB, free: 9.125 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.334, allocations: 51.41 kB / 1.019 GB, free: 9.062 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.629e-05/0.334, allocations: 89.86 kB / 1.019 GB, free: 8.965 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.334, allocations: 29.7 kB / 1.019 GB, free: 8.93 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 2.803e-05/0.3341, allocations: 80.14 kB / 1.019 GB, free: 8.848 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.3341, allocations: 128 / 1.019 GB, free: 8.848 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.3341, allocations: 17.7 kB / 1.019 GB, free: 8.824 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.3343, allocations: 314.8 kB / 1.02 GB, free: 8.508 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.3343, allocations: 8 kB / 1.02 GB, free: 8.5 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-06/0.3343, allocations: 0 / 1.02 GB, free: 8.5 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.941e-05/0.3343, allocations: 8.859 kB / 1.02 GB, free: 8.488 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3343, allocations: 3.938 kB / 1.02 GB, free: 8.484 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.202e-05/0.3344, allocations: 33.64 kB / 1.02 GB, free: 8.445 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3344, allocations: 8.094 kB / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.3344, allocations: 0 / 1.02 GB, free: 8.438 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.3345, allocations: 11.92 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.23e-05/0.3345, allocations: 0 / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3345, allocations: 3.938 kB / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.05e-05/0.3345, allocations: 0 / 1.02 GB, free: 8.422 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.3346, allocations: 0 / 1.02 GB, free: 8.422 MB / 0.795 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.011e-05/0.3346, allocations: 113.8 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.3347, allocations: 3.984 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.464e-05/0.3348, allocations: 44.75 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3348, allocations: 3.938 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3348, allocations: 0 / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3348, allocations: 0 / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.329e-05/0.3349, allocations: 141.7 kB / 1.02 GB, free: 8.055 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3349, allocations: 4 kB / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.402e-05/0.3349, allocations: 0 / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3349, allocations: 0 / 1.02 GB, free: 8.051 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.3349, allocations: 3.938 kB / 1.02 GB, free: 8.047 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3349, allocations: 3.984 kB / 1.02 GB, free: 8.043 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3349, allocations: 4.031 kB / 1.02 GB, free: 8.039 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.272e-05/0.335, allocations: 57.14 kB / 1.02 GB, free: 7.965 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.3351, allocations: 77.11 kB / 1.02 GB, free: 7.871 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.3351, allocations: 3.938 kB / 1.02 GB, free: 7.867 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-06/0.3351, allocations: 0 / 1.02 GB, free: 7.867 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.3351, allocations: 7.984 kB / 1.02 GB, free: 7.859 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.3351, allocations: 0 / 1.02 GB, free: 7.859 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.613e-05/0.3352, allocations: 79.31 kB / 1.02 GB, free: 7.781 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.533e-06/0.3352, allocations: 0 / 1.02 GB, free: 7.781 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002024/0.3354, allocations: 19.94 kB / 1.02 GB, free: 7.762 MB / 0.795 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.0002004/0.3356, allocations: 111.2 kB / 1.02 GB, free: 7.645 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.806e-05/0.3357, allocations: 4 kB / 1.02 GB, free: 7.641 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3357, allocations: 0 / 1.02 GB, free: 7.641 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.045e-06/0.3357, allocations: 12 kB / 1.02 GB, free: 7.629 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.3358, allocations: 0 / 1.02 GB, free: 7.629 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000191/0.336, allocations: 106.7 kB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.3363, allocations: 0.6729 MB / 1.021 GB, free: 6.793 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.3363, allocations: 11.42 kB / 1.021 GB, free: 6.781 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3363, allocations: 0 / 1.021 GB, free: 6.781 MB / 0.795 GB Notification: Performance of Templates: time 0.001975/0.3383, allocations: 0.5583 MB / 1.022 GB, free: 6.227 MB / 0.795 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