Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001114/0.001114, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001112/0.002226, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007236/0.0007236, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001026/0.001749, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.993/0.993, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09607/1.089, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.895/1.895, allocations: 378.2 MB / 0.6076 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.475/2.37, allocations: 123.3 MB / 0.728 GB, free: 5.828 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0.5469 kB / 0.7294 GB, free: 4.477 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.113e-05/2.311e-05, allocations: 4.984 kB / 0.7294 GB, free: 4.473 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.002015/0.002038, allocations: 0.6424 MB / 0.73 GB, free: 3.852 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002474/0.002286, allocations: 99.17 kB / 0.7301 GB, free: 3.758 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.289e-05/0.002299, allocations: 0 / 0.7301 GB, free: 3.758 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.528e-06/0.002303, allocations: 1.203 kB / 0.7301 GB, free: 3.758 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 1.112e-06/0.002304, allocations: 0 / 0.7301 GB, free: 3.758 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.002566, allocations: 34.22 kB / 0.7301 GB, free: 3.727 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.86e-05/0.002614, allocations: 8.656 kB / 0.7302 GB, free: 3.719 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.002659, allocations: 4.859 kB / 0.7302 GB, free: 3.715 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.817e-05/0.002697, allocations: 0 / 0.7302 GB, free: 3.715 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.443e-05/0.002721, allocations: 8.75 kB / 0.7302 GB, free: 3.707 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.002733, allocations: 0 / 0.7302 GB, free: 3.707 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.002916, allocations: 37.17 kB / 0.7302 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.768e-06/0.002926, allocations: 1.953 kB / 0.7302 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.491e-05/0.002941, allocations: 4.547 kB / 0.7302 GB, free: 3.668 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001206/0.003061, allocations: 24.61 kB / 0.7302 GB, free: 3.645 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.282e-05/0.003084, allocations: 4.656 kB / 0.7302 GB, free: 3.641 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.483e-06/0.003086, allocations: 0.5938 kB / 0.7302 GB, free: 3.641 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.003104, allocations: 0 / 0.7302 GB, free: 3.641 MB / 0.698 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.0003031/0.003407, allocations: 226.4 kB / 0.7305 GB, free: 3.395 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.003447, allocations: 9.234 kB / 0.7305 GB, free: 3.387 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.535e-05/0.003542, allocations: 78.05 kB / 0.7305 GB, free: 3.293 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.767e-05/0.00362, allocations: 105.8 kB / 0.7306 GB, free: 3.164 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.003631, allocations: 5.125 kB / 0.7306 GB, free: 3.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.552e-06/0.003637, allocations: 384 / 0.7306 GB, free: 3.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.755e-05/0.003715, allocations: 28.02 kB / 0.7307 GB, free: 3.129 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.003723, allocations: 192 / 0.7307 GB, free: 3.129 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-06/0.003728, allocations: 4.375 kB / 0.7307 GB, free: 3.125 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.003736, allocations: 4.359 kB / 0.7307 GB, free: 3.121 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.477e-05/0.00375, allocations: 4.438 kB / 0.7307 GB, free: 3.117 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.965e-05/0.00384, allocations: 57.05 kB / 0.7307 GB, free: 3.047 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.058e-05/0.003881, allocations: 20.38 kB / 0.7308 GB, free: 3.02 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.316e-05/0.003894, allocations: 4.859 kB / 0.7308 GB, free: 3.012 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.004066, allocations: 12.64 kB / 0.7308 GB, free: 3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.004093, allocations: 34.56 kB / 0.7308 GB, free: 2.957 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.004094, allocations: 1.125 kB / 0.7308 GB, free: 2.957 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001196/0.004213, allocations: 29.7 kB / 0.7308 GB, free: 2.922 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.004251, allocations: 52.12 kB / 0.7309 GB, free: 2.859 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.682e-05/0.004288, allocations: 90.84 kB / 0.731 GB, free: 2.762 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.0043, allocations: 26.23 kB / 0.731 GB, free: 2.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.656e-05/0.004327, allocations: 84.58 kB / 0.7311 GB, free: 2.648 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.004356, allocations: 3.984 kB / 0.7311 GB, free: 2.645 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.004384, allocations: 17.66 kB / 0.7311 GB, free: 2.621 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.004485, allocations: 319.4 kB / 0.7314 GB, free: 2.301 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.124e-05/0.004497, allocations: 4.875 kB / 0.7314 GB, free: 2.297 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.51e-06/0.004502, allocations: 0 / 0.7314 GB, free: 2.297 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.643e-05/0.004529, allocations: 6.141 kB / 0.7314 GB, free: 2.289 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.004531, allocations: 1.312 kB / 0.7314 GB, free: 2.289 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.447e-05/0.004605, allocations: 34.52 kB / 0.7314 GB, free: 2.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.00462, allocations: 4 kB / 0.7315 GB, free: 2.246 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.004626, allocations: 5.328 kB / 0.7315 GB, free: 2.242 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.004637, allocations: 3.984 kB / 0.7315 GB, free: 2.238 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.793e-05/0.004685, allocations: 4 kB / 0.7315 GB, free: 2.234 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.004689, allocations: 3.938 kB / 0.7315 GB, free: 2.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.554e-05/0.004704, allocations: 4.719 kB / 0.7315 GB, free: 2.227 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.004709, allocations: 0 / 0.7315 GB, free: 2.227 MB / 0.698 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 6.286e-05/0.004772, allocations: 111.2 kB / 0.7316 GB, free: 2.109 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.004797, allocations: 4 kB / 0.7316 GB, free: 2.105 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.045e-05/0.004868, allocations: 32.69 kB / 0.7316 GB, free: 2.062 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.004869, allocations: 5.75 kB / 0.7316 GB, free: 2.059 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.004871, allocations: 0 / 0.7316 GB, free: 2.059 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.004876, allocations: 4.844 kB / 0.7316 GB, free: 2.055 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.375e-05/0.00494, allocations: 61.84 kB / 0.7317 GB, free: 1.977 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.004942, allocations: 0.5 kB / 0.7317 GB, free: 1.977 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.772e-05/0.00496, allocations: 4 kB / 0.7317 GB, free: 1.973 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-06/0.004963, allocations: 1.219 kB / 0.7317 GB, free: 1.973 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.004965, allocations: 0 / 0.7317 GB, free: 1.973 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-06/0.004968, allocations: 0.875 kB / 0.7317 GB, free: 1.973 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.00497, allocations: 1.156 kB / 0.7317 GB, free: 1.973 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.004972, allocations: 7.984 kB / 0.7317 GB, free: 1.965 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.52e-05/0.005047, allocations: 62.22 kB / 0.7318 GB, free: 1.887 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.036e-06/0.005055, allocations: 0 / 0.7318 GB, free: 1.887 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-06/0.005063, allocations: 0 / 0.7318 GB, free: 1.887 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.272e-05/0.005075, allocations: 8 kB / 0.7318 GB, free: 1.879 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.005078, allocations: 1.031 kB / 0.7318 GB, free: 1.879 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.244e-06/0.005085, allocations: 5.734 kB / 0.7318 GB, free: 1.871 MB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.005086, allocations: 0 / 0.7318 GB, free: 1.871 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001985/0.005284, allocations: 16.45 kB / 0.7318 GB, free: 1.855 MB / 0.698 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.0001765/0.00546, allocations: 91.28 kB / 0.7319 GB, free: 1.758 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.32e-05/0.005524, allocations: 16.78 kB / 0.7319 GB, free: 1.738 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.005528, allocations: 0 / 0.7319 GB, free: 1.738 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.511e-06/0.005533, allocations: 6.172 kB / 0.7319 GB, free: 1.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.521e-05/0.005598, allocations: 8.625 kB / 0.7319 GB, free: 1.723 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000177/0.005775, allocations: 75.22 kB / 0.732 GB, free: 1.621 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.166e-05/0.005807, allocations: 55.34 kB / 0.732 GB, free: 1.547 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.143e-05/0.005819, allocations: 0.8125 kB / 0.732 GB, free: 1.547 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.835e-05/0.005847, allocations: 47.38 kB / 0.7321 GB, free: 1.5 MB / 0.698 GB Notification: Performance of SimCode: time 6.62e-07/0.005848, allocations: 6.359 kB / 0.7321 GB, free: 1.496 MB / 0.698 GB Notification: Performance of Templates: time 0.002541/0.008388, allocations: 474.1 kB / 0.7325 GB, free: 1.055 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1/Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.879543896764517]