Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001263/0.001263, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002269/0.003533, allocations: 435.8 kB / 10.33 MB, free: 368 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.001074/0.001074, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001179/0.002253, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.124/1.124, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0972/1.222, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.425/2.425, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2467/2.671, allocations: 145.9 MB / 0.817 GB, free: 4.23 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.8184 GB, free: 2.863 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.159e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.859 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001133/0.001154, allocations: 0.6479 MB / 0.819 GB, free: 2.211 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0001365/0.001291, allocations: 83.69 kB / 0.8191 GB, free: 2.129 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.347e-06/0.0013, allocations: 3.938 kB / 0.8191 GB, free: 2.125 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.787e-06/0.001304, allocations: 4 kB / 0.8191 GB, free: 2.121 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.51e-07/0.001305, allocations: 0 / 0.8191 GB, free: 2.121 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002083/0.001513, allocations: 31.84 kB / 0.8191 GB, free: 2.09 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.121e-05/0.001554, allocations: 4 kB / 0.8191 GB, free: 2.086 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.001591, allocations: 0 / 0.8191 GB, free: 2.086 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 3.264e-05/0.001624, allocations: 4 kB / 0.8191 GB, free: 2.082 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 1.89e-05/0.001642, allocations: 3.984 kB / 0.8191 GB, free: 2.078 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.001653, allocations: 0 / 0.8191 GB, free: 2.078 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003785/0.002032, allocations: 31.97 kB / 0.8192 GB, free: 2.047 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 7.484e-06/0.002039, allocations: 3.938 kB / 0.8192 GB, free: 2.043 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 9.909e-06/0.002049, allocations: 0 / 0.8192 GB, free: 2.043 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.949e-05/0.002139, allocations: 27.84 kB / 0.8192 GB, free: 2.016 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.581e-05/0.002154, allocations: 4 kB / 0.8192 GB, free: 2.012 MB / 0.7917 GB Notification: Performance of FrontEnd: time 7.91e-07/0.002155, allocations: 4 kB / 0.8192 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.00217, allocations: 0 / 0.8192 GB, free: 2.008 MB / 0.7917 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.0002438/0.002414, allocations: 220.7 kB / 0.8194 GB, free: 1.766 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.002443, allocations: 8.625 kB / 0.8194 GB, free: 1.758 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.465e-05/0.002518, allocations: 82.03 kB / 0.8195 GB, free: 1.66 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.573e-05/0.002573, allocations: 109.8 kB / 0.8196 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.002582, allocations: 384 / 0.8196 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.861e-06/0.002588, allocations: 384 / 0.8196 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.41e-05/0.002652, allocations: 30.27 kB / 0.8196 GB, free: 1.492 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.002659, allocations: 192 / 0.8196 GB, free: 1.492 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.06e-06/0.002664, allocations: 384 / 0.8196 GB, free: 1.492 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.00267, allocations: 12.36 kB / 0.8196 GB, free: 1.48 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.169e-05/0.002682, allocations: 7.875 kB / 0.8196 GB, free: 1.473 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.368e-05/0.002746, allocations: 53.05 kB / 0.8197 GB, free: 1.406 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 3.075e-05/0.002777, allocations: 22.59 kB / 0.8197 GB, free: 1.375 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.626e-05/0.002793, allocations: 4.859 kB / 0.8197 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/0.002936, allocations: 11.98 kB / 0.8197 GB, free: 1.355 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.002956, allocations: 38.56 kB / 0.8198 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.002957, allocations: 0 / 0.8198 GB, free: 1.309 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 9.386e-05/0.003051, allocations: 37.62 kB / 0.8198 GB, free: 1.266 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.003078, allocations: 55.53 kB / 0.8199 GB, free: 1.199 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.455e-05/0.003103, allocations: 89.86 kB / 0.8199 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 7.674e-06/0.003111, allocations: 25.7 kB / 0.82 GB, free: 1.07 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 1.943e-05/0.00313, allocations: 80.14 kB / 0.82 GB, free: 0.9883 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.003154, allocations: 0 / 0.82 GB, free: 0.9883 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/0.003172, allocations: 13.72 kB / 0.8201 GB, free: 0.9688 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 6.566e-05/0.003238, allocations: 314.8 kB / 0.8204 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.041e-06/0.003244, allocations: 0 / 0.8204 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.16e-06/0.003249, allocations: 4 kB / 0.8204 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.151e-05/0.003271, allocations: 12.78 kB / 0.8204 GB, free: 0.6328 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.003272, allocations: 4.062 kB / 0.8204 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.346e-05/0.003316, allocations: 33.7 kB / 0.8204 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.003328, allocations: 4 kB / 0.8204 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.003333, allocations: 0 / 0.8204 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.425e-06/0.003341, allocations: 0 / 0.8204 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.781e-05/0.003379, allocations: 0 / 0.8204 GB, free: 0.5859 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.003381, allocations: 4 kB / 0.8204 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.033e-06/0.003388, allocations: 0 / 0.8204 GB, free: 0.582 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.003392, allocations: 0 / 0.8204 GB, free: 0.582 MB / 0.7917 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 4.511e-05/0.003438, allocations: 117.8 kB / 0.8205 GB, free: 468 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.103e-05/0.003449, allocations: 8.031 kB / 0.8205 GB, free: 460 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.019e-05/0.003499, allocations: 32.64 kB / 0.8206 GB, free: 424 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.0035, allocations: 0 / 0.8206 GB, free: 424 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.003502, allocations: 4 kB / 0.8206 GB, free: 420 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.003504, allocations: 0 / 0.8206 GB, free: 420 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.058e-05/0.003555, allocations: 65.83 kB / 0.8206 GB, free: 336 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.003556, allocations: 0 / 0.8206 GB, free: 336 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.018e-05/0.003566, allocations: 4 kB / 0.8206 GB, free: 332 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-06/0.003569, allocations: 0 / 0.8206 GB, free: 332 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.72e-07/0.003569, allocations: 0 / 0.8206 GB, free: 332 kB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-06/0.003572, allocations: 4.031 kB / 0.8206 GB, free: 328 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.51e-07/0.003572, allocations: 0 / 0.8206 GB, free: 328 kB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.003573, allocations: 3.938 kB / 0.8206 GB, free: 324 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.891e-05/0.003622, allocations: 65.05 kB / 0.8207 GB, free: 240 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-06/0.003627, allocations: 3.938 kB / 0.8207 GB, free: 236 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.237e-06/0.003632, allocations: 4 kB / 0.8207 GB, free: 232 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-06/0.003641, allocations: 4 kB / 0.8207 GB, free: 228 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-06/0.003642, allocations: 0 / 0.8207 GB, free: 228 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 6.954e-06/0.003649, allocations: 4.859 kB / 0.8207 GB, free: 220 kB / 0.7917 GB Notification: Performance of sort global known variables: time 6.1e-08/0.003649, allocations: 0 / 0.8207 GB, free: 220 kB / 0.7917 GB Notification: Performance of remove unused functions: time 9.86e-05/0.003748, allocations: 8.031 kB / 0.8207 GB, free: 212 kB / 0.7917 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.000121/0.003869, allocations: 96.34 kB / 0.8208 GB, free: 104 kB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 4.923e-05/0.003918, allocations: 8.859 kB / 0.8208 GB, free: 92 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.003921, allocations: 0 / 0.8208 GB, free: 92 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 4.218e-06/0.003925, allocations: 4.859 kB / 0.8208 GB, free: 84 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.006e-05/0.003975, allocations: 15.86 kB / 0.8208 GB, free: 68 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001433/0.004119, allocations: 90.22 kB / 0.8209 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.382e-05/0.004153, allocations: 51.36 kB / 0.821 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.857e-06/0.004161, allocations: 0 / 0.821 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.359e-05/0.004185, allocations: 47.38 kB / 0.821 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of SimCode: time 4.6e-07/0.004185, allocations: 0 / 0.821 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of Templates: time 0.001815/0.006001, allocations: 464.2 kB / 0.8215 GB, free: 15.38 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1/Buildings_latest_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: 5.22884935606271]