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.01132/0.01132, allocations: 101.2 kB / 15.73 MB, free: 5.508 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.002032/0.002032, allocations: 195.6 kB / 16.67 MB, free: 5.438 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.69/2.69, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.91 kB / 1.019 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2931, allocations: 151.6 MB / 1.167 GB, free: 6.727 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001892/0.2951, allocations: 0.5767 MB / 1.167 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003695/0.2955, allocations: 103.6 kB / 1.167 GB, free: 6.047 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.214e-05/0.2955, allocations: 4 kB / 1.167 GB, free: 6.043 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.409e-05/0.2956, allocations: 0 / 1.167 GB, free: 6.043 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.594e-06/0.2956, allocations: 0 / 1.167 GB, free: 6.043 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.2959, allocations: 27.91 kB / 1.167 GB, free: 6.016 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.664e-05/0.296, allocations: 4 kB / 1.167 GB, free: 6.012 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.062e-05/0.296, allocations: 8.281 kB / 1.167 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.346e-05/0.296, allocations: 0 / 1.167 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.047e-05/0.2961, allocations: 0 / 1.167 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.797e-06/0.2961, allocations: 0 / 1.167 GB, free: 6.004 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.2963, allocations: 39.91 kB / 1.167 GB, free: 5.965 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.187e-06/0.2963, allocations: 0 / 1.167 GB, free: 5.965 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.2963, allocations: 15.97 kB / 1.167 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.2964, allocations: 19.97 kB / 1.167 GB, free: 5.93 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.2964, allocations: 7.938 kB / 1.167 GB, free: 5.922 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2964, allocations: 0 / 1.167 GB, free: 5.922 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.2965, allocations: 0 / 1.167 GB, free: 5.922 MB / 0.92 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.0003366/0.2968, allocations: 315.5 kB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.2968, allocations: 11.97 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.466e-05/0.2969, allocations: 0.9375 kB / 1.168 GB, free: 5.551 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.562e-05/0.297, allocations: 164.4 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.297, allocations: 4.375 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-06/0.297, allocations: 8.375 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.921e-05/0.2971, allocations: 26.27 kB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.2972, allocations: 192 / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.2972, allocations: 7.875 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.2972, allocations: 0 / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.199e-05/0.2972, allocations: 4 kB / 1.168 GB, free: 5.297 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.2974, allocations: 145.7 kB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.039e-05/0.2974, allocations: 30.61 kB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.401e-05/0.2974, allocations: 8.859 kB / 1.168 GB, free: 5.055 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002043/0.2976, allocations: 85.09 kB / 1.168 GB, free: 4.953 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.2977, allocations: 30.56 kB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.2977, allocations: 0 / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001357/0.2978, allocations: 37.59 kB / 1.168 GB, free: 4.871 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.2979, allocations: 55.34 kB / 1.168 GB, free: 4.805 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.13e-05/0.2979, allocations: 97.98 kB / 1.168 GB, free: 4.699 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.2979, allocations: 25.7 kB / 1.168 GB, free: 4.668 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 2.308e-05/0.2979, allocations: 84.14 kB / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.298, allocations: 0 / 1.169 GB, free: 4.582 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.298, allocations: 9.719 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.715e-05/0.2981, allocations: 314.8 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.014e-05/0.2981, allocations: 4 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-06/0.2981, allocations: 0 / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.459e-05/0.2982, allocations: 12.92 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2982, allocations: 0 / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.304e-05/0.2982, allocations: 33.7 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2983, allocations: 4 kB / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.2983, allocations: 3.938 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2983, allocations: 3.938 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.591e-05/0.2983, allocations: 7.984 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.2983, allocations: 0 / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.015e-05/0.2984, allocations: 0 / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.2984, allocations: 4.031 kB / 1.169 GB, free: 4.168 MB / 0.92 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.919e-05/0.2984, allocations: 109.8 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.2985, allocations: 0 / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.471e-05/0.2985, allocations: 44.7 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.2986, allocations: 3.984 kB / 1.169 GB, free: 3.996 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2986, allocations: 4 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2986, allocations: 0 / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.19e-05/0.2987, allocations: 141.7 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.2987, allocations: 3.938 kB / 1.169 GB, free: 3.801 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.383e-05/0.2987, allocations: 8.031 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2987, allocations: 0 / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.2987, allocations: 7.875 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2987, allocations: 0 / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2987, allocations: 0 / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.08e-05/0.2988, allocations: 61.12 kB / 1.169 GB, free: 3.707 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.081e-05/0.2988, allocations: 81.09 kB / 1.169 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.2989, allocations: 3.969 kB / 1.169 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.863e-06/0.2989, allocations: 4 kB / 1.169 GB, free: 3.602 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.037e-05/0.2989, allocations: 0 / 1.169 GB, free: 3.602 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.2989, allocations: 7.984 kB / 1.169 GB, free: 3.594 MB / 0.92 GB Notification: Performance of sorting global known variables: time 2.327e-05/0.2989, allocations: 75.28 kB / 1.169 GB, free: 3.52 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2989, allocations: 0 / 1.169 GB, free: 3.52 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002048/0.2991, allocations: 11.94 kB / 1.169 GB, free: 3.508 MB / 0.92 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.0001746/0.2993, allocations: 114 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 6.444e-05/0.2994, allocations: 11.92 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2994, allocations: 0 / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 7.414e-06/0.2994, allocations: 4 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.2995, allocations: 4 kB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001573/0.2997, allocations: 68.94 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002128/0.2999, allocations: 0.6729 MB / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 9.598e-06/0.3, allocations: 4.125 kB / 1.17 GB, free: 2.57 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.335e-05/0.3, allocations: 7.438 kB / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of SimCode: time 2.5e-07/0.3, allocations: 0 / 1.17 GB, free: 2.562 MB / 0.92 GB Notification: Performance of Templates: time 0.002287/0.3023, allocations: 400.6 kB / 1.171 GB, free: 2.172 MB / 0.92 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