Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.0009429/0.0009429, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.001098/0.001098, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 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.9128/0.9128, allocations: 177.1 MB / 203.5 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.642/1.642, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.9517 GB, free: 2.953 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.962e-05/3.143e-05, allocations: 6.281 kB / 0.9517 GB, free: 2.945 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002924/0.002956, allocations: 1.436 MB / 0.9531 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0004826/0.003438, allocations: 159.4 kB / 0.9533 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.385e-05/0.003472, allocations: 4 kB / 0.9533 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.003506, allocations: 0 / 0.9533 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.672e-05/0.003553, allocations: 3.938 kB / 0.9533 GB, free: 1.328 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004303/0.003983, allocations: 43.88 kB / 0.9533 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.312e-05/0.004056, allocations: 15.94 kB / 0.9534 GB, free: 1.27 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.004159, allocations: 11.98 kB / 0.9534 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.714e-05/0.004206, allocations: 11.94 kB / 0.9534 GB, free: 1.246 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 3.841e-05/0.004245, allocations: 3.984 kB / 0.9534 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.004263, allocations: 4 kB / 0.9534 GB, free: 1.238 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.004418, allocations: 43.83 kB / 0.9534 GB, free: 1.195 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.004433, allocations: 11.98 kB / 0.9534 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.004454, allocations: 7.938 kB / 0.9535 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.004622, allocations: 47.92 kB / 0.9535 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.004626, allocations: 4 kB / 0.9535 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.433e-06/0.004628, allocations: 0 / 0.9535 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.004632, allocations: 0 / 0.9535 GB, free: 1.125 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004318/0.005064, allocations: 278.2 kB / 0.9538 GB, free: 0.8203 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.005104, allocations: 8.031 kB / 0.9538 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.005162, allocations: 0.9375 kB / 0.9538 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.005262, allocations: 113.7 kB / 0.9539 GB, free: 0.6758 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.005281, allocations: 4.375 kB / 0.9539 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.005292, allocations: 4.375 kB / 0.9539 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.005474, allocations: 54.17 kB / 0.9539 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.005484, allocations: 192 / 0.9539 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.005495, allocations: 384 / 0.9539 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.005502, allocations: 4.375 kB / 0.9539 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.005642, allocations: 31.91 kB / 0.954 GB, free: 0.5742 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.005969, allocations: 192.6 kB / 0.9542 GB, free: 364 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.006089, allocations: 42.5 kB / 0.9542 GB, free: 312 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.477e-05/0.006154, allocations: 20.91 kB / 0.9542 GB, free: 288 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.006302, allocations: 15.92 kB / 0.9542 GB, free: 272 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.00633, allocations: 34.55 kB / 0.9543 GB, free: 228 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.743e-06/0.006332, allocations: 0 / 0.9543 GB, free: 228 kB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0003323/0.006664, allocations: 85.67 kB / 0.9544 GB, free: 136 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.006706, allocations: 55.41 kB / 0.9544 GB, free: 68 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.839e-05/0.006794, allocations: 97.84 kB / 0.9545 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.006808, allocations: 29.7 kB / 0.9545 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.267e-05/0.00685, allocations: 84.14 kB / 0.9546 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.006873, allocations: 3.953 kB / 0.9546 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.006908, allocations: 13.72 kB / 0.9546 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.007014, allocations: 318.8 kB / 0.9549 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.854e-05/0.007083, allocations: 11.98 kB / 0.9549 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.63e-05/0.007139, allocations: 27.95 kB / 0.955 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.007259, allocations: 32.83 kB / 0.955 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.007261, allocations: 4 kB / 0.955 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001827/0.007444, allocations: 65.61 kB / 0.9551 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.007462, allocations: 8 kB / 0.9551 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.007469, allocations: 8.031 kB / 0.9551 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.007483, allocations: 0 / 0.9551 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.779e-05/0.007561, allocations: 7.984 kB / 0.9551 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.007566, allocations: 0 / 0.9551 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.957e-05/0.007606, allocations: 7.984 kB / 0.9551 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.007614, allocations: 4 kB / 0.9551 GB, free: 15.31 MB / 0.9167 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 (2): * Single equations (assignments): 2 * 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.032e-05/0.007684, allocations: 109.8 kB / 0.9552 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.007724, allocations: 4 kB / 0.9552 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.007933, allocations: 76.91 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.007936, allocations: 0 / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.007941, allocations: 0 / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.007944, allocations: 3.938 kB / 0.9553 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.008079, allocations: 105.3 kB / 0.9554 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.008081, allocations: 0 / 0.9554 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.76e-05/0.008139, allocations: 11.98 kB / 0.9554 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.008142, allocations: 0 / 0.9554 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.00815, allocations: 0 / 0.9554 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.008153, allocations: 7.875 kB / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.008155, allocations: 4.031 kB / 0.9554 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005022/0.008657, allocations: 159.5 kB / 0.9556 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.00867, allocations: 15.89 kB / 0.9556 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.008685, allocations: 4 kB / 0.9556 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.311e-05/0.008758, allocations: 11.92 kB / 0.9556 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.008793, allocations: 0 / 0.9556 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.008797, allocations: 0 / 0.9556 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.657e-05/0.008834, allocations: 83.27 kB / 0.9557 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1e-07/0.008834, allocations: 4.031 kB / 0.9557 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002831/0.009117, allocations: 16 kB / 0.9557 GB, free: 14.64 MB / 0.9167 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 (2): * Single equations (assignments): 2 * 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.0002106/0.009328, allocations: 107.2 kB / 0.9558 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001886/0.009516, allocations: 35.95 kB / 0.9558 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.009518, allocations: 0 / 0.9558 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.326e-05/0.009581, allocations: 23.98 kB / 0.9558 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.009893, allocations: 6.062 kB / 0.9559 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003317/0.01022, allocations: 131.1 kB / 0.956 GB, free: 14.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.695e-05/0.01028, allocations: 63.33 kB / 0.956 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/0.01031, allocations: 12.5 kB / 0.9561 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of SimCode: time 5.81e-07/0.01031, allocations: 0 / 0.9561 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of Templates: time 0.002325/0.01264, allocations: 0.7945 MB / 0.9568 GB, free: 13.42 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.726264923810959]