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.00153/0.00153, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001961/0.001961, allocations: 194.1 kB / 16.25 MB, free: 6.16 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.361/1.361, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.652/2.652, allocations: 437 MB / 0.71 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.89 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6515/0.6528, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001882/0.6547, allocations: 0.6488 MB / 1.017 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003743/0.6551, allocations: 99.58 kB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.132e-05/0.6551, allocations: 0 / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.999e-05/0.6551, allocations: 0 / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.031e-06/0.6552, allocations: 4 kB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.6556, allocations: 31.97 kB / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.763e-05/0.6556, allocations: 3.938 kB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.01e-05/0.6557, allocations: 3.984 kB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.671e-05/0.6557, allocations: 4 kB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 1.92e-05/0.6557, allocations: 0 / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.103e-05/0.6557, allocations: 0 / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.6559, allocations: 39.89 kB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.468e-06/0.6559, allocations: 0 / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.611e-05/0.656, allocations: 4 kB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.6561, allocations: 31.91 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.6561, allocations: 7.938 kB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6561, allocations: 0 / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.6561, allocations: 0 / 1.018 GB, free: 1.805 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.0003362/0.6565, allocations: 315.6 kB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.6565, allocations: 8.031 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.6566, allocations: 0.9375 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001061/0.6567, allocations: 164.4 kB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.6567, allocations: 384 / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-06/0.6567, allocations: 384 / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.101e-05/0.6568, allocations: 30.27 kB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-06/0.6568, allocations: 192 / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.6568, allocations: 3.938 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.6568, allocations: 4 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.114e-05/0.6569, allocations: 7.922 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001369/0.657, allocations: 149.7 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.614e-05/0.657, allocations: 18.61 kB / 1.018 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.638e-05/0.6571, allocations: 4.859 kB / 1.018 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002206/0.6573, allocations: 93.16 kB / 1.018 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.6573, allocations: 34.56 kB / 1.018 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.6573, allocations: 0 / 1.018 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001343/0.6575, allocations: 37.58 kB / 1.018 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.6575, allocations: 59.39 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.93e-05/0.6576, allocations: 89.86 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.6576, allocations: 25.7 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.869e-05/0.6576, allocations: 84.27 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.6576, allocations: 3.906 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.6577, allocations: 13.72 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.6578, allocations: 314.8 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-06/0.6578, allocations: 0 / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.229e-06/0.6578, allocations: 0 / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.686e-05/0.6579, allocations: 8.859 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.6579, allocations: 0 / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.135e-05/0.6579, allocations: 41.69 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.658, allocations: 7.938 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.658, allocations: 3.938 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.658, allocations: 7.938 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.792e-05/0.658, allocations: 0 / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.658, allocations: 0 / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.217e-05/0.6581, allocations: 4 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.6581, allocations: 0 / 1.019 GB, free: 56 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 9.171e-05/0.6582, allocations: 113.9 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.708e-05/0.6582, allocations: 0 / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.07e-05/0.6583, allocations: 44.69 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.6583, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.6583, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.6583, allocations: 0 / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.923e-05/0.6584, allocations: 149.7 kB / 1.019 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.6584, allocations: 3.984 kB / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.096e-05/0.6584, allocations: 0 / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.6584, allocations: 0 / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.6584, allocations: 3.938 kB / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.6585, allocations: 4.031 kB / 1.019 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6585, allocations: 4 kB / 1.019 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.89e-05/0.6585, allocations: 49.14 kB / 1.019 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.6586, allocations: 81.09 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.6586, allocations: 3.938 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.647e-06/0.6586, allocations: 4 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-06/0.6586, allocations: 7.938 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.6586, allocations: 4.031 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.478e-05/0.6587, allocations: 75.28 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6587, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002087/0.6589, allocations: 12 kB / 1.02 GB, free: 15.4 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.0001924/0.6591, allocations: 115.2 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.894e-05/0.6592, allocations: 8 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6592, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.684e-06/0.6592, allocations: 4 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.6593, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001881/0.6595, allocations: 84.97 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.6598, allocations: 0.6767 MB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.191e-05/0.6598, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.399e-05/0.6598, allocations: 11.38 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.6598, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of Templates: time 0.002269/0.6621, allocations: 407.2 kB / 1.021 GB, free: 14.05 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=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