Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009788/0.0009789, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001251/0.001251, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.067/3.067, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005287/0.0005288, allocations: 13.91 kB / 0.9021 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4343/0.4349, allocations: 159.6 MB / 1.058 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.0007337/0.4357, allocations: 306.9 kB / 1.058 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003198/0.436, allocations: 91.78 kB / 1.058 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.758e-06/0.436, allocations: 4 kB / 1.058 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.149e-05/0.436, allocations: 0 / 1.058 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.823e-06/0.436, allocations: 7.938 kB / 1.058 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.4364, allocations: 27.92 kB / 1.058 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.656e-05/0.4364, allocations: 0 / 1.058 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.4365, allocations: 0 / 1.058 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.4e-05/0.4365, allocations: 0 / 1.058 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.437e-05/0.4365, allocations: 3.984 kB / 1.058 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 8.065e-06/0.4365, allocations: 0 / 1.058 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.4367, allocations: 39.91 kB / 1.059 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.35e-06/0.4367, allocations: 0 / 1.059 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.4367, allocations: 33.64 kB / 1.059 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.445e-05/0.4368, allocations: 15.97 kB / 1.059 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.4368, allocations: 4 kB / 1.059 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4368, allocations: 0 / 1.059 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.818e-06/0.4368, allocations: 0 / 1.059 GB, free: 4.75 MB / 0.8106 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.0002827/0.4371, allocations: 319.3 kB / 1.059 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.4372, allocations: 12.02 kB / 1.059 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.899e-05/0.4372, allocations: 0 / 1.059 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.859e-05/0.4373, allocations: 159.1 kB / 1.059 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.4374, allocations: 0 / 1.059 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.4374, allocations: 11.89 kB / 1.059 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.303e-05/0.4375, allocations: 33.69 kB / 1.059 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.4375, allocations: 0 / 1.059 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.4375, allocations: 0 / 1.059 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.4375, allocations: 0 / 1.059 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.904e-05/0.4375, allocations: 4 kB / 1.059 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001398/0.4377, allocations: 149.7 kB / 1.059 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.91e-05/0.4377, allocations: 18.58 kB / 1.059 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.745e-05/0.4378, allocations: 12.89 kB / 1.059 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/0.438, allocations: 93.05 kB / 1.059 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.438, allocations: 30.56 kB / 1.059 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.438, allocations: 0 / 1.059 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001443/0.4382, allocations: 33.7 kB / 1.059 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.4382, allocations: 55.34 kB / 1.059 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.974e-05/0.4383, allocations: 89.86 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.4383, allocations: 25.7 kB / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.374e-05/0.4383, allocations: 88.25 kB / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.4383, allocations: 7.984 kB / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.944e-06/0.4383, allocations: 0 / 1.06 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4385, allocations: 310.8 kB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-06/0.4385, allocations: 3.938 kB / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.519e-06/0.4385, allocations: 0 / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.086e-05/0.4385, allocations: 8 kB / 1.06 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4385, allocations: 0 / 1.06 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.986e-05/0.4386, allocations: 33.77 kB / 1.06 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.4386, allocations: 7.953 kB / 1.06 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.4386, allocations: 0 / 1.06 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.4386, allocations: 4 kB / 1.06 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.747e-05/0.4387, allocations: 3.984 kB / 1.06 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.4387, allocations: 0 / 1.06 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.899e-06/0.4387, allocations: 0 / 1.06 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.4387, allocations: 0 / 1.06 GB, free: 3.031 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/0.4388, allocations: 113.8 kB / 1.06 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.4388, allocations: 4.031 kB / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.08e-05/0.4389, allocations: 48.7 kB / 1.06 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4389, allocations: 0 / 1.06 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4389, allocations: 0 / 1.06 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.4389, allocations: 0 / 1.06 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.908e-05/0.439, allocations: 145.7 kB / 1.06 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.439, allocations: 4 kB / 1.06 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.007e-05/0.439, allocations: 0 / 1.06 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.439, allocations: 0 / 1.06 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.439, allocations: 0 / 1.06 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.439, allocations: 3.953 kB / 1.06 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.439, allocations: 4.031 kB / 1.06 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.875e-05/0.4391, allocations: 65.06 kB / 1.06 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.4392, allocations: 77.11 kB / 1.06 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.4392, allocations: 0 / 1.06 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-06/0.4392, allocations: 0 / 1.06 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.4392, allocations: 11.89 kB / 1.06 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.4392, allocations: 3.984 kB / 1.06 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.662e-05/0.4393, allocations: 79.31 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4393, allocations: 0 / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001985/0.4395, allocations: 12 kB / 1.061 GB, free: 2.371 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001948/0.4397, allocations: 103.2 kB / 1.061 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.303e-05/0.4397, allocations: 7.984 kB / 1.061 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4397, allocations: 4.062 kB / 1.061 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.654e-06/0.4398, allocations: 7.938 kB / 1.061 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.4399, allocations: 4 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001622/0.4401, allocations: 74.67 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.4403, allocations: 0.6692 MB / 1.061 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.357e-05/0.4403, allocations: 4 kB / 1.061 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.369e-05/0.4403, allocations: 11.42 kB / 1.061 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.4403, allocations: 0 / 1.061 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of Templates: time 0.002568/0.4429, allocations: 391.8 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches