Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001109/0.001109, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.258/1.258, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.225/2.225, allocations: 390.2 MB / 0.6646 GB, free: 268 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 67.91 kB / 0.8125 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6804/0.6817, allocations: 140.3 MB / 0.9496 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001671/0.6834, allocations: 0.5694 MB / 0.9501 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003093/0.6837, allocations: 111.2 kB / 0.9503 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.1e-05/0.6837, allocations: 0 / 0.9503 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.402e-05/0.6837, allocations: 0 / 0.9503 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.368e-06/0.6837, allocations: 1.719 kB / 0.9503 GB, free: 8.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.684, allocations: 28.02 kB / 0.9503 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.218e-05/0.6841, allocations: 9.109 kB / 0.9503 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.6841, allocations: 1.406 kB / 0.9503 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.174e-05/0.6841, allocations: 3.938 kB / 0.9503 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.574e-05/0.6842, allocations: 1.406 kB / 0.9503 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.123e-06/0.6842, allocations: 4 kB / 0.9503 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.6843, allocations: 36.77 kB / 0.9503 GB, free: 8.527 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.304e-06/0.6843, allocations: 4 kB / 0.9503 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.419e-05/0.6843, allocations: 1.406 kB / 0.9503 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.831e-05/0.6844, allocations: 27.05 kB / 0.9504 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.6844, allocations: 0 / 0.9504 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6844, allocations: 5.281 kB / 0.9504 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.6845, allocations: 0 / 0.9504 GB, free: 8.504 MB / 0.7169 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.0001978/0.6847, allocations: 315.4 kB / 0.9507 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.6847, allocations: 13.56 kB / 0.9507 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.6847, allocations: 0.9375 kB / 0.9507 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.253e-05/0.6848, allocations: 166 kB / 0.9508 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.6848, allocations: 384 / 0.9508 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-06/0.6848, allocations: 4.359 kB / 0.9508 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.388e-05/0.6849, allocations: 33.23 kB / 0.9509 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.6849, allocations: 192 / 0.9509 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-06/0.6849, allocations: 3.938 kB / 0.9509 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.6849, allocations: 0 / 0.9509 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.136e-05/0.685, allocations: 9.266 kB / 0.9509 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.436e-05/0.685, allocations: 146.9 kB / 0.951 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 2.825e-05/0.6851, allocations: 20.86 kB / 0.9511 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.458e-05/0.6851, allocations: 5.922 kB / 0.9511 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.6853, allocations: 89.47 kB / 0.9511 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.6853, allocations: 30.56 kB / 0.9512 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.6853, allocations: 0 / 0.9512 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.000117/0.6854, allocations: 43.08 kB / 0.9512 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.6855, allocations: 55.39 kB / 0.9513 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.353e-05/0.6855, allocations: 91.17 kB / 0.9514 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.24e-06/0.6855, allocations: 25.7 kB / 0.9514 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.315e-06/0.6855, allocations: 80.14 kB / 0.9515 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.6855, allocations: 9.094 kB / 0.9515 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.6856, allocations: 15.19 kB / 0.9515 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.221e-05/0.6856, allocations: 310.8 kB / 0.9518 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.363e-06/0.6856, allocations: 6.25 kB / 0.9518 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-06/0.6856, allocations: 0 / 0.9518 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.731e-05/0.6856, allocations: 8.141 kB / 0.9518 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.6856, allocations: 0 / 0.9518 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.928e-05/0.6857, allocations: 42.47 kB / 0.9518 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.6857, allocations: 5.281 kB / 0.9518 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.6857, allocations: 1.281 kB / 0.9518 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.6857, allocations: 3.938 kB / 0.9518 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.083e-05/0.6858, allocations: 5.688 kB / 0.9518 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.6858, allocations: 0 / 0.9518 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.486e-06/0.6858, allocations: 1.219 kB / 0.9518 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.6858, allocations: 0 / 0.9518 GB, free: 6.805 MB / 0.7169 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 3.674e-05/0.6858, allocations: 107.5 kB / 0.9519 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.6859, allocations: 0 / 0.9519 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.324e-05/0.6859, allocations: 41.22 kB / 0.952 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.6859, allocations: 1.594 kB / 0.952 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.6859, allocations: 0 / 0.952 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.6859, allocations: 7.969 kB / 0.952 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.901e-05/0.686, allocations: 147.2 kB / 0.9521 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.686, allocations: 3.984 kB / 0.9521 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.748e-06/0.686, allocations: 5.406 kB / 0.9521 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.686, allocations: 1.406 kB / 0.9521 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-06/0.686, allocations: 3.938 kB / 0.9521 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.686, allocations: 0 / 0.9521 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.686, allocations: 1.219 kB / 0.9522 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.035e-05/0.6861, allocations: 54.17 kB / 0.9522 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.6861, allocations: 90.44 kB / 0.9523 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.247e-06/0.6861, allocations: 3.938 kB / 0.9523 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.522e-06/0.6861, allocations: 1.156 kB / 0.9523 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.207e-06/0.6861, allocations: 0 / 0.9523 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-06/0.6861, allocations: 1.344 kB / 0.9523 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.083e-05/0.6862, allocations: 75.28 kB / 0.9524 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6862, allocations: 0 / 0.9524 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001815/0.6863, allocations: 10.91 kB / 0.9524 GB, free: 6.184 MB / 0.7169 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.0001512/0.6865, allocations: 114.1 kB / 0.9525 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.411e-05/0.6866, allocations: 7.969 kB / 0.9525 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.6866, allocations: 0 / 0.9525 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.38e-06/0.6866, allocations: 1.469 kB / 0.9525 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000117/0.6867, allocations: 6.438 kB / 0.9525 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001384/0.6869, allocations: 82.89 kB / 0.9526 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.051e-05/0.687, allocations: 0.678 MB / 0.9532 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.747e-06/0.687, allocations: 0 / 0.9532 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.009e-05/0.687, allocations: 8.812 kB / 0.9533 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.687, allocations: 0 / 0.9533 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of Templates: time 0.001964/0.689, allocations: 399.9 kB / 0.9536 GB, free: 5.062 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches