Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001362/0.001362, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.001522/0.001522, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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 1.461/1.461, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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 2.805/2.805, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 177] 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.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.352e-05, allocations: 2.75 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001566/0.001589, allocations: 0.5957 MB / 0.787 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003524/0.001941, allocations: 92.17 kB / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.049e-05/0.001952, allocations: 0 / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.037e-05/0.001962, allocations: 0.7812 kB / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.52e-06/0.001968, allocations: 0 / 0.7871 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003635/0.002331, allocations: 37.45 kB / 0.7871 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.496e-05/0.002366, allocations: 4 kB / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.799e-05/0.002394, allocations: 0 / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.122e-05/0.002415, allocations: 0 / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.33e-05/0.002429, allocations: 1.219 kB / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.002438, allocations: 0 / 0.7871 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.002587, allocations: 51.81 kB / 0.7872 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.366e-06/0.002595, allocations: 0 / 0.7872 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.002613, allocations: 0.7812 kB / 0.7872 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001093/0.002723, allocations: 27.95 kB / 0.7872 GB, free: 12 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.843e-06/0.002725, allocations: 0.9062 kB / 0.7872 GB, free: 12 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.91e-07/0.002725, allocations: 3.938 kB / 0.7872 GB, free: 11.99 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.002729, allocations: 0.6562 kB / 0.7872 GB, free: 11.99 MB / 0.7448 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.0003114/0.00304, allocations: 246.4 kB / 0.7875 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.003073, allocations: 9.625 kB / 0.7875 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.172e-05/0.003145, allocations: 4.875 kB / 0.7875 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.003252, allocations: 101.8 kB / 0.7876 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.003263, allocations: 4.375 kB / 0.7876 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.753e-06/0.00327, allocations: 3.812 kB / 0.7876 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.446e-05/0.003344, allocations: 26.27 kB / 0.7876 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.003351, allocations: 192 / 0.7876 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.003361, allocations: 4.359 kB / 0.7876 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.003367, allocations: 4.375 kB / 0.7876 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.81e-05/0.003385, allocations: 3.938 kB / 0.7876 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001315/0.003517, allocations: 97.33 kB / 0.7877 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.91e-05/0.003566, allocations: 22.55 kB / 0.7877 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.547e-05/0.003581, allocations: 4.859 kB / 0.7877 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001696/0.003751, allocations: 8.703 kB / 0.7877 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.00379, allocations: 35.16 kB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.003791, allocations: 1.625 kB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001511/0.003942, allocations: 33.7 kB / 0.7878 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.003988, allocations: 55.34 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.851e-05/0.004046, allocations: 93.84 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.004063, allocations: 26.42 kB / 0.788 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.16e-05/0.004124, allocations: 84.14 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.298e-05/0.004147, allocations: 5.156 kB / 0.7881 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.004175, allocations: 9.719 kB / 0.7881 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.004345, allocations: 318.8 kB / 0.7884 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.129e-05/0.004357, allocations: 5.531 kB / 0.7884 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.04e-06/0.004362, allocations: 0 / 0.7884 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.201e-05/0.004394, allocations: 8.859 kB / 0.7884 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.004395, allocations: 0.5625 kB / 0.7884 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.491e-05/0.00447, allocations: 39 kB / 0.7884 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.004483, allocations: 4 kB / 0.7884 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.004487, allocations: 4 kB / 0.7884 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.004505, allocations: 7.922 kB / 0.7884 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.145e-05/0.004537, allocations: 0.625 kB / 0.7884 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.004541, allocations: 1.969 kB / 0.7884 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.223e-05/0.004553, allocations: 3.938 kB / 0.7884 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.004557, allocations: 0 / 0.7884 GB, free: 10.58 MB / 0.7448 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 8.287e-05/0.00464, allocations: 113.8 kB / 0.7886 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.23e-05/0.004662, allocations: 3.953 kB / 0.7886 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.004846, allocations: 37.25 kB / 0.7886 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.004848, allocations: 0.7188 kB / 0.7886 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.004854, allocations: 4 kB / 0.7886 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.004856, allocations: 1.219 kB / 0.7886 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.129e-05/0.004947, allocations: 101.3 kB / 0.7887 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.004948, allocations: 0 / 0.7887 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.141e-05/0.004959, allocations: 0.625 kB / 0.7887 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.004961, allocations: 4 kB / 0.7887 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-06/0.004966, allocations: 5.062 kB / 0.7887 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.004969, allocations: 3.984 kB / 0.7887 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.00497, allocations: 0 / 0.7887 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.442e-05/0.005064, allocations: 61.89 kB / 0.7888 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-06/0.005067, allocations: 0.6562 kB / 0.7888 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.095e-06/0.005075, allocations: 0 / 0.7888 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-06/0.005082, allocations: 1.219 kB / 0.7888 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.69e-05/0.005099, allocations: 7.984 kB / 0.7888 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.005101, allocations: 0 / 0.7888 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.262e-05/0.005144, allocations: 75.81 kB / 0.7889 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.11e-07/0.005144, allocations: 0 / 0.7889 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002042/0.005348, allocations: 9.125 kB / 0.7889 GB, free: 10.1 MB / 0.7448 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.0001838/0.005532, allocations: 118.3 kB / 0.789 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.135e-05/0.005593, allocations: 11.94 kB / 0.789 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.005595, allocations: 2.219 kB / 0.789 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.931e-06/0.005601, allocations: 0 / 0.789 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.005728, allocations: 0 / 0.789 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002025/0.005931, allocations: 78.3 kB / 0.7891 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.198e-05/0.005983, allocations: 55.36 kB / 0.7891 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.392e-05/0.005997, allocations: 14.69 kB / 0.7891 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/0.006019, allocations: 8.5 kB / 0.7891 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.006019, allocations: 0 / 0.7891 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of Templates: time 0.002669/0.008689, allocations: 418.5 kB / 0.7895 GB, free: 9.375 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.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: 7.419073482044041]