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.001319/0.001319, allocations: 110.4 kB / 16.41 MB, free: 6.023 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.001486/0.001486, allocations: 186.4 kB / 17.34 MB, free: 5.629 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.475/1.475, allocations: 222.9 MB / 241 MB, free: 15.16 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.521/2.521, allocations: 437 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 63.91 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8501/0.8516, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001666/0.8533, allocations: 0.5789 MB / 1.168 GB, free: 3.277 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003723/0.8537, allocations: 99.64 kB / 1.168 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.497e-05/0.8537, allocations: 0 / 1.168 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.397e-05/0.8537, allocations: 3.938 kB / 1.168 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.842e-06/0.8538, allocations: 0 / 1.168 GB, free: 3.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.8541, allocations: 39.89 kB / 1.168 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 4.092e-05/0.8542, allocations: 0 / 1.168 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.8542, allocations: 0 / 1.168 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.423e-05/0.8542, allocations: 0 / 1.168 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 1.753e-05/0.8543, allocations: 4 kB / 1.168 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.8543, allocations: 0 / 1.168 GB, free: 3.133 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.8544, allocations: 39.89 kB / 1.168 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.594e-06/0.8544, allocations: 0 / 1.168 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.586e-05/0.8545, allocations: 0 / 1.168 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.8546, allocations: 23.97 kB / 1.168 GB, free: 3.07 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.8546, allocations: 7.938 kB / 1.168 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8546, allocations: 4 kB / 1.168 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.8546, allocations: 0 / 1.168 GB, free: 3.059 MB / 0.8887 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.0003041/0.8549, allocations: 316.1 kB / 1.168 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.855, allocations: 12.92 kB / 1.168 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.11e-05/0.855, allocations: 0.9375 kB / 1.168 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.677e-05/0.8551, allocations: 168.3 kB / 1.169 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.8551, allocations: 4.359 kB / 1.169 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.8551, allocations: 384 / 1.169 GB, free: 2.484 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.343e-05/0.8552, allocations: 34.25 kB / 1.169 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.8553, allocations: 4.188 kB / 1.169 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.8553, allocations: 3.938 kB / 1.169 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.8553, allocations: 0 / 1.169 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.701e-05/0.8553, allocations: 0 / 1.169 GB, free: 2.438 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001346/0.8554, allocations: 153.7 kB / 1.169 GB, free: 2.238 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.816e-05/0.8555, allocations: 18.52 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.8555, allocations: 4.859 kB / 1.169 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002046/0.8557, allocations: 89.19 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.8557, allocations: 42.56 kB / 1.169 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.8558, allocations: 0 / 1.169 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001359/0.8559, allocations: 41.58 kB / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.8559, allocations: 51.41 kB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.211e-05/0.856, allocations: 89.86 kB / 1.169 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.856, allocations: 29.64 kB / 1.169 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 2.228e-05/0.856, allocations: 80.27 kB / 1.169 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.856, allocations: 4 kB / 1.169 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.5e-05/0.8561, allocations: 17.72 kB / 1.169 GB, free: 1.695 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.589e-05/0.8562, allocations: 310.8 kB / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.276e-06/0.8562, allocations: 0 / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.679e-06/0.8562, allocations: 0 / 1.17 GB, free: 1.383 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/0.8562, allocations: 12.84 kB / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.8562, allocations: 0 / 1.17 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.466e-05/0.8563, allocations: 33.77 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.8563, allocations: 8 kB / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.8563, allocations: 0 / 1.17 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.8564, allocations: 3.938 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.484e-05/0.8564, allocations: 3.938 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.8564, allocations: 4 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.789e-06/0.8564, allocations: 0 / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-06/0.8564, allocations: 0 / 1.17 GB, free: 1.309 MB / 0.8887 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 6.457e-05/0.8565, allocations: 113.8 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.8565, allocations: 8.016 kB / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.038e-05/0.8566, allocations: 44.64 kB / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.8566, allocations: 4 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.8566, allocations: 0 / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.8566, allocations: 0 / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.243e-05/0.8567, allocations: 153.6 kB / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.8567, allocations: 0 / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.046e-05/0.8567, allocations: 0 / 1.17 GB, free: 0.9219 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.8567, allocations: 4 kB / 1.17 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.8568, allocations: 3.938 kB / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.8568, allocations: 4.031 kB / 1.17 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.8568, allocations: 3.938 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.507e-05/0.8568, allocations: 53.12 kB / 1.17 GB, free: 0.8359 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.8569, allocations: 81.11 kB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.8569, allocations: 3.938 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-06/0.8569, allocations: 0 / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.8569, allocations: 0 / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.8569, allocations: 8.031 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 2.808e-05/0.857, allocations: 77.75 kB / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.857, allocations: 0 / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0001953/0.8572, allocations: 8 kB / 1.17 GB, free: 0.6445 MB / 0.8887 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.0001818/0.8574, allocations: 115.2 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 6.908e-05/0.8574, allocations: 11.94 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8574, allocations: 0 / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 4.809e-06/0.8574, allocations: 0 / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.8576, allocations: 7.938 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001787/0.8578, allocations: 106.6 kB / 1.17 GB, free: 372 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.858, allocations: 0.669 MB / 1.171 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.189e-05/0.858, allocations: 7.438 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.858, allocations: 4 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of Templates: time 0.001768/0.8598, allocations: 0.5521 MB / 1.172 GB, free: 15.11 MB / 0.9044 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