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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00173/0.002859, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001726/0.00284, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9684/0.9684, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0963/1.065, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.466/2.466, allocations: 447.1 MB / 0.675 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2343/2.7, allocations: 146 MB / 0.8176 GB, free: 3.777 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|E1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.819 GB, free: 2.391 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.076e-05/2.231e-05, allocations: 2.312 kB / 0.819 GB, free: 2.387 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001769/0.001791, allocations: 0.6442 MB / 0.8196 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002041/0.001995, allocations: 91.61 kB / 0.8197 GB, free: 1.648 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.162e-05/0.002007, allocations: 0 / 0.8197 GB, free: 1.648 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.947e-06/0.002011, allocations: 0 / 0.8197 GB, free: 1.648 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 9.71e-07/0.002012, allocations: 4 kB / 0.8197 GB, free: 1.645 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.002253, allocations: 31.84 kB / 0.8197 GB, free: 1.613 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.415e-05/0.002297, allocations: 0 / 0.8197 GB, free: 1.613 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.002338, allocations: 4 kB / 0.8197 GB, free: 1.609 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.657e-05/0.002374, allocations: 0 / 0.8197 GB, free: 1.609 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 2.36e-05/0.002398, allocations: 3.938 kB / 0.8197 GB, free: 1.605 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.002411, allocations: 0 / 0.8197 GB, free: 1.605 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.002569, allocations: 39.89 kB / 0.8198 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.002582, allocations: 0 / 0.8198 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.088e-05/0.002592, allocations: 0 / 0.8198 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.002706, allocations: 27.91 kB / 0.8198 GB, free: 1.539 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.444e-05/0.00272, allocations: 4 kB / 0.8198 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.41e-07/0.002721, allocations: 0 / 0.8198 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.506e-05/0.002736, allocations: 0 / 0.8198 GB, free: 1.535 MB / 0.7917 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.000311/0.003047, allocations: 220.7 kB / 0.82 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.003087, allocations: 12.03 kB / 0.82 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.003187, allocations: 78.05 kB / 0.8201 GB, free: 1.188 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.855e-05/0.003276, allocations: 105.8 kB / 0.8202 GB, free: 1.059 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.003289, allocations: 4.312 kB / 0.8202 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.0033, allocations: 8.312 kB / 0.8202 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.703e-05/0.003387, allocations: 26.27 kB / 0.8203 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.003396, allocations: 8.172 kB / 0.8203 GB, free: 1.008 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.003403, allocations: 384 / 0.8203 GB, free: 1.008 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.00341, allocations: 384 / 0.8203 GB, free: 1.008 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.257e-05/0.003422, allocations: 7.938 kB / 0.8203 GB, free: 1 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.259e-05/0.003505, allocations: 61.03 kB / 0.8203 GB, free: 0.9258 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 3.837e-05/0.003543, allocations: 18.61 kB / 0.8203 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.123e-05/0.003555, allocations: 8.797 kB / 0.8204 GB, free: 0.8867 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001559/0.003711, allocations: 4.062 kB / 0.8204 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.003737, allocations: 34.55 kB / 0.8204 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.003738, allocations: 0 / 0.8204 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.000119/0.003857, allocations: 33.7 kB / 0.8204 GB, free: 0.8008 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.00389, allocations: 55.41 kB / 0.8205 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.33e-05/0.003924, allocations: 89.86 kB / 0.8206 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.003935, allocations: 25.7 kB / 0.8206 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.061e-05/0.003955, allocations: 80.14 kB / 0.8207 GB, free: 0.5234 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.003987, allocations: 4 kB / 0.8207 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.004015, allocations: 13.72 kB / 0.8207 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.004108, allocations: 318.8 kB / 0.821 GB, free: 184 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-06/0.004114, allocations: 3.938 kB / 0.821 GB, free: 180 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-06/0.004119, allocations: 0 / 0.821 GB, free: 180 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.636e-05/0.004146, allocations: 13.05 kB / 0.821 GB, free: 164 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.004148, allocations: 0 / 0.821 GB, free: 164 kB / 0.7917 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.231e-05/0.00421, allocations: 29.7 kB / 0.821 GB, free: 128 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.004226, allocations: 8 kB / 0.821 GB, free: 120 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.00423, allocations: 0 / 0.821 GB, free: 120 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.004242, allocations: 0 / 0.821 GB, free: 120 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.149e-05/0.004284, allocations: 3.984 kB / 0.821 GB, free: 116 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.986e-06/0.004287, allocations: 0 / 0.821 GB, free: 116 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.169e-05/0.004299, allocations: 7.938 kB / 0.821 GB, free: 108 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.004304, allocations: 0 / 0.821 GB, free: 108 kB / 0.7917 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 7.093e-05/0.004375, allocations: 117.8 kB / 0.8212 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.004391, allocations: 0 / 0.8212 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.454e-05/0.004456, allocations: 36.69 kB / 0.8212 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.004459, allocations: 7.922 kB / 0.8212 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.004461, allocations: 0 / 0.8212 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.004463, allocations: 0 / 0.8212 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.727e-05/0.004521, allocations: 69.84 kB / 0.8213 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.004523, allocations: 4 kB / 0.8213 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.322e-05/0.004536, allocations: 0 / 0.8213 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-06/0.00454, allocations: 4 kB / 0.8213 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.004541, allocations: 4.031 kB / 0.8213 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-06/0.004545, allocations: 0 / 0.8213 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.004546, allocations: 0 / 0.8213 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.004547, allocations: 0 / 0.8213 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.153e-05/0.004618, allocations: 65 kB / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.694e-06/0.004626, allocations: 0 / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-06/0.004633, allocations: 0 / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.109e-05/0.004644, allocations: 0 / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.004649, allocations: 0 / 0.8213 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.809e-06/0.004659, allocations: 8.859 kB / 0.8213 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.1e-08/0.004659, allocations: 0 / 0.8213 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001735/0.004832, allocations: 8.031 kB / 0.8214 GB, free: 15.73 MB / 0.8073 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.0001678/0.005, allocations: 92.34 kB / 0.8214 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.753e-05/0.005058, allocations: 12.84 kB / 0.8215 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.005064, allocations: 4 kB / 0.8215 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.206e-05/0.005077, allocations: 8.797 kB / 0.8215 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.437e-05/0.005141, allocations: 22.31 kB / 0.8215 GB, free: 15.58 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001644/0.005305, allocations: 90.16 kB / 0.8216 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.5e-05/0.00534, allocations: 55.34 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.156e-05/0.005352, allocations: 3.938 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.005385, allocations: 51.38 kB / 0.8217 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of SimCode: time 4.61e-07/0.005386, allocations: 0 / 0.8217 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of Templates: time 0.002665/0.008051, allocations: 461.3 kB / 0.8221 GB, free: 14.89 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 300] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.263861540704966]