Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001555/0.001555, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.00192/0.00192, allocations: 207.9 kB / 22.99 MB, free: 4.984 MB / 14.72 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 1.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.209/3.209, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 69.05 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.348, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002809/0.3508, allocations: 1.455 MB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0005181/0.3513, allocations: 151.5 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.726e-05/0.3514, allocations: 0 / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.455e-05/0.3514, allocations: 3.938 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.742e-05/0.3514, allocations: 0 / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.3518, allocations: 47.83 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.432e-05/0.3519, allocations: 19.92 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.136e-05/0.352, allocations: 8 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.797e-05/0.352, allocations: 7.984 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.842e-05/0.352, allocations: 11.94 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.352, allocations: 4 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.3522, allocations: 43.88 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.3522, allocations: 4 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.3522, allocations: 8 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.3524, allocations: 55.73 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3524, allocations: 0 / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3524, allocations: 0 / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3524, allocations: 4 kB / 1.329 GB, free: 15.17 MB / 1.029 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.000491/0.3529, allocations: 266.3 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3529, allocations: 8.031 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.608e-05/0.353, allocations: 4.938 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.3531, allocations: 106.5 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3531, allocations: 4.375 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.3531, allocations: 8.297 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.3533, allocations: 50.23 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3533, allocations: 192 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3533, allocations: 7.938 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3533, allocations: 0 / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.3535, allocations: 39.89 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003179/0.3538, allocations: 192.5 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001431/0.354, allocations: 38.59 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.353e-05/0.3541, allocations: 16.91 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.3542, allocations: 19.92 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.3543, allocations: 34.56 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.3543, allocations: 0 / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004035/0.3547, allocations: 81.58 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.3547, allocations: 55.41 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.585e-05/0.3548, allocations: 97.84 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.3548, allocations: 25.7 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.3549, allocations: 84.14 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.3549, allocations: 16.02 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.3549, allocations: 9.719 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3551, allocations: 318.8 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.922e-05/0.3552, allocations: 15.97 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.379e-05/0.3552, allocations: 15.98 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.3554, allocations: 40.77 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3554, allocations: 4.062 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002128/0.3556, allocations: 69.59 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3556, allocations: 4 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.3556, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3556, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.69e-05/0.3557, allocations: 11.98 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3557, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.585e-05/0.3558, allocations: 7.984 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.3558, allocations: 8.031 kB / 1.33 GB, free: 13.36 MB / 1.029 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 9.158e-05/0.3559, allocations: 113.8 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.3559, allocations: 7.891 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.3562, allocations: 68.91 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3562, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.3562, allocations: 7.938 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3562, allocations: 0 / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.3563, allocations: 105.3 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3563, allocations: 4.031 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.3564, allocations: 7.984 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.3564, allocations: 7.938 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.692e-06/0.3564, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3564, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3564, allocations: 0 / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.3567, allocations: 163.5 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.027e-06/0.3567, allocations: 3.938 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.3567, allocations: 8.031 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.614e-05/0.3568, allocations: 3.984 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.864e-05/0.3568, allocations: 4 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.3568, allocations: 192 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.561e-05/0.3569, allocations: 87.27 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3569, allocations: 0 / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002524/0.3571, allocations: 11.94 kB / 1.331 GB, free: 12.7 MB / 1.029 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.0002327/0.3574, allocations: 115.2 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.3576, allocations: 35.95 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3576, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.853e-05/0.3577, allocations: 23.92 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.358, allocations: 8.172 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000333/0.3583, allocations: 113.5 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.89e-05/0.3584, allocations: 67.47 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.365e-05/0.3584, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.237e-05/0.3584, allocations: 7.438 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3584, allocations: 4 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of Templates: time 0.003428/0.3619, allocations: 0.6856 MB / 1.332 GB, free: 11.6 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.007008838001639]