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.001548/0.001548, allocations: 111.2 kB / 17.13 MB, free: 6.07 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.001869/0.001869, allocations: 200.4 kB / 20.09 MB, free: 3.125 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.523/1.523, allocations: 230.6 MB / 253.5 MB, free: 15.06 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 2.924/2.924, allocations: 0.49 GB / 0.7923 GB, free: 1.312 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.002103/0.002103, allocations: 63.91 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.021/1.023, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002436/1.026, allocations: 1.45 MB / 1.323 GB, free: 24.01 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0004114/1.026, allocations: 159.9 kB / 1.324 GB, free: 23.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.655e-05/1.026, allocations: 0 / 1.324 GB, free: 23.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/1.026, allocations: 4 kB / 1.324 GB, free: 23.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.813e-05/1.026, allocations: 7.922 kB / 1.324 GB, free: 23.9 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/1.026, allocations: 36.19 kB / 1.324 GB, free: 23.88 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.311e-05/1.027, allocations: 27.59 kB / 1.324 GB, free: 23.87 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 9.6e-05/1.027, allocations: 2.438 kB / 1.324 GB, free: 23.87 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.883e-05/1.027, allocations: 12.7 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.946e-05/1.027, allocations: 14.12 kB / 1.324 GB, free: 23.86 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/1.027, allocations: 3.984 kB / 1.324 GB, free: 23.85 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/1.027, allocations: 41.33 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.063e-05/1.027, allocations: 2.562 kB / 1.324 GB, free: 23.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/1.027, allocations: 11.94 kB / 1.324 GB, free: 23.83 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/1.027, allocations: 46.98 kB / 1.324 GB, free: 23.82 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/1.027, allocations: 3.938 kB / 1.324 GB, free: 23.81 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.923e-06/1.027, allocations: 3.938 kB / 1.324 GB, free: 23.81 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.521e-06/1.027, allocations: 0 / 1.324 GB, free: 23.81 MB / 1.061 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.0004195/1.027, allocations: 346.4 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/1.027, allocations: 15.64 kB / 1.324 GB, free: 23.44 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.811e-05/1.028, allocations: 0.9375 kB / 1.324 GB, free: 23.44 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.864e-05/1.028, allocations: 171.2 kB / 1.324 GB, free: 23.24 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/1.028, allocations: 4.375 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.739e-06/1.028, allocations: 4.359 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/1.028, allocations: 51.97 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/1.028, allocations: 192 / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/1.028, allocations: 3.938 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/1.028, allocations: 2.938 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/1.028, allocations: 31.06 kB / 1.324 GB, free: 23.19 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/1.028, allocations: 252.8 kB / 1.325 GB, free: 22.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/1.028, allocations: 41.06 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.438e-05/1.029, allocations: 20.08 kB / 1.325 GB, free: 22.87 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001707/1.029, allocations: 86.34 kB / 1.325 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/1.029, allocations: 38.56 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/1.029, allocations: 0 / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003731/1.029, allocations: 81.77 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/1.029, allocations: 51.41 kB / 1.325 GB, free: 22.62 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.499e-05/1.029, allocations: 101.9 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.303e-06/1.029, allocations: 25.83 kB / 1.325 GB, free: 22.49 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.459e-05/1.029, allocations: 86.92 kB / 1.325 GB, free: 22.4 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/1.029, allocations: 11.19 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.7e-05/1.029, allocations: 12.28 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.576e-05/1.029, allocations: 310.8 kB / 1.325 GB, free: 22.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.236e-05/1.029, allocations: 22.02 kB / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.037e-05/1.029, allocations: 12.11 kB / 1.325 GB, free: 22.06 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/1.03, allocations: 41.97 kB / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.03, allocations: 0 / 1.325 GB, free: 22.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000198/1.03, allocations: 75.88 kB / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/1.03, allocations: 7.812 kB / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/1.03, allocations: 3.938 kB / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/1.03, allocations: 0 / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.088e-05/1.03, allocations: 12.88 kB / 1.326 GB, free: 21.99 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/1.03, allocations: 0 / 1.326 GB, free: 21.99 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.699e-05/1.03, allocations: 12.69 kB / 1.326 GB, free: 21.99 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/1.03, allocations: 0 / 1.326 GB, free: 21.99 MB / 1.061 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 4.652e-05/1.03, allocations: 112.6 kB / 1.326 GB, free: 21.87 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/1.03, allocations: 0 / 1.326 GB, free: 21.87 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/1.03, allocations: 79.53 kB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/1.03, allocations: 0 / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.03, allocations: 0 / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/1.03, allocations: 3.609 kB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/1.03, allocations: 158.4 kB / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.03, allocations: 0 / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.496e-05/1.03, allocations: 8.781 kB / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/1.03, allocations: 0 / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/1.03, allocations: 0 / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.03, allocations: 0 / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.03, allocations: 3.25 kB / 1.326 GB, free: 21.62 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002118/1.031, allocations: 165.9 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/1.031, allocations: 84.02 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/1.031, allocations: 7.938 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.162e-05/1.031, allocations: 6.375 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/1.031, allocations: 3.156 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/1.031, allocations: 4.031 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.385e-05/1.031, allocations: 89.53 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of sort global known variables: time 6.1e-08/1.031, allocations: 0 / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002392/1.031, allocations: 8.781 kB / 1.326 GB, free: 21.29 MB / 1.061 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.0001838/1.031, allocations: 119.7 kB / 1.326 GB, free: 21.19 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002214/1.031, allocations: 37.94 kB / 1.326 GB, free: 21.18 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.031, allocations: 2.75 kB / 1.326 GB, free: 21.18 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.196e-05/1.032, allocations: 15.97 kB / 1.326 GB, free: 21.18 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/1.032, allocations: 9.891 kB / 1.326 GB, free: 21.17 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/1.032, allocations: 142.5 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001142/1.032, allocations: 0.6823 MB / 1.327 GB, free: 20.32 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/1.032, allocations: 10.77 kB / 1.327 GB, free: 20.31 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.032, allocations: 0 / 1.327 GB, free: 20.31 MB / 1.061 GB Notification: Performance of Templates: time 0.002311/1.035, allocations: 0.754 MB / 1.328 GB, free: 20.27 MB / 1.061 GB " [Timeout remaining time 299] 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 -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: 11.784834928999771]