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.001815/0.001815, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002338/0.002338, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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.466/1.466, allocations: 177.2 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.893/2.893, allocations: 377.8 MB / 0.6232 GB, free: 8.496 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.275e-06/2.275e-06, allocations: 0 / 0.8109 GB, free: 2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.294e-05/3.522e-05, allocations: 2.312 kB / 0.8109 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.002661/0.002697, allocations: 0.5955 MB / 0.8114 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0005574/0.003254, allocations: 95.55 kB / 0.8115 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.274e-05/0.003267, allocations: 0.9688 kB / 0.8115 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.289e-05/0.00328, allocations: 0 / 0.8115 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.354e-06/0.003287, allocations: 0.8438 kB / 0.8115 GB, free: 1.332 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004725/0.003759, allocations: 31.89 kB / 0.8116 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.387e-05/0.003803, allocations: 4 kB / 0.8116 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.848e-05/0.003842, allocations: 1.625 kB / 0.8116 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.675e-05/0.003869, allocations: 0 / 0.8116 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 1.738e-05/0.003886, allocations: 0 / 0.8116 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.0039, allocations: 0 / 0.8116 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.004115, allocations: 53.34 kB / 0.8116 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 8.776e-06/0.004123, allocations: 4 kB / 0.8116 GB, free: 1.242 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.192e-05/0.004145, allocations: 0 / 0.8116 GB, free: 1.242 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001641/0.004309, allocations: 23.97 kB / 0.8117 GB, free: 1.219 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.004313, allocations: 1.75 kB / 0.8117 GB, free: 1.219 MB / 0.7605 GB Notification: Performance of FrontEnd: time 8.11e-07/0.004314, allocations: 0 / 0.8117 GB, free: 1.219 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.004318, allocations: 0 / 0.8117 GB, free: 1.219 MB / 0.7605 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.0004338/0.004751, allocations: 242.4 kB / 0.8119 GB, free: 0.9492 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.004795, allocations: 12.03 kB / 0.8119 GB, free: 0.9375 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.818e-05/0.004893, allocations: 6.125 kB / 0.8119 GB, free: 0.9336 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.005031, allocations: 101.8 kB / 0.812 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.00505, allocations: 4.375 kB / 0.812 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.005058, allocations: 2.281 kB / 0.812 GB, free: 0.8047 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.005176, allocations: 30.25 kB / 0.812 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.005187, allocations: 192 / 0.812 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.005195, allocations: 384 / 0.812 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.0052, allocations: 384 / 0.812 GB, free: 0.7695 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.85e-05/0.005228, allocations: 10.41 kB / 0.812 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001921/0.00542, allocations: 101.3 kB / 0.8121 GB, free: 0.6328 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 7.183e-05/0.005492, allocations: 22.55 kB / 0.8122 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.069e-05/0.005523, allocations: 8.844 kB / 0.8122 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002372/0.00576, allocations: 8.047 kB / 0.8122 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.858e-05/0.005818, allocations: 34.56 kB / 0.8122 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=1): time 1.382e-06/0.00582, allocations: 0.7188 kB / 0.8122 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of matching and sorting (n=1): time 0.0002299/0.00605, allocations: 38.22 kB / 0.8123 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.006119, allocations: 57 kB / 0.8123 GB, free: 440 kB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.564e-05/0.006205, allocations: 89.86 kB / 0.8124 GB, free: 340 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.006235, allocations: 29.64 kB / 0.8124 GB, free: 304 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/0.006304, allocations: 80.14 kB / 0.8125 GB, free: 220 kB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.00634, allocations: 7.938 kB / 0.8125 GB, free: 212 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.006384, allocations: 10.38 kB / 0.8125 GB, free: 196 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002826/0.006667, allocations: 318.8 kB / 0.8128 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.675e-05/0.006683, allocations: 5.125 kB / 0.8128 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.865e-06/0.006691, allocations: 0 / 0.8128 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.675e-05/0.006738, allocations: 10.02 kB / 0.8128 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.006741, allocations: 0 / 0.8128 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001393/0.00688, allocations: 35.06 kB / 0.8129 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.006899, allocations: 7.938 kB / 0.8129 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.006907, allocations: 0 / 0.8129 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.00693, allocations: 4 kB / 0.8129 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.5e-05/0.006975, allocations: 1.156 kB / 0.8129 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.006981, allocations: 0 / 0.8129 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.445e-05/0.007005, allocations: 3.938 kB / 0.8129 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.007012, allocations: 0.6562 kB / 0.8129 GB, free: 15.8 MB / 0.7761 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 0.0001338/0.007146, allocations: 114.5 kB / 0.813 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.007183, allocations: 3.953 kB / 0.813 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.007307, allocations: 37.53 kB / 0.813 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.00731, allocations: 0 / 0.813 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.00732, allocations: 5.875 kB / 0.813 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.007329, allocations: 4 kB / 0.813 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.007476, allocations: 97.27 kB / 0.8131 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007478, allocations: 0 / 0.8131 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-05/0.007502, allocations: 3.984 kB / 0.8131 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.007504, allocations: 0.75 kB / 0.8131 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.00751, allocations: 4 kB / 0.8131 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.007512, allocations: 6.312 kB / 0.8131 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007513, allocations: 0 / 0.8131 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.007673, allocations: 61.08 kB / 0.8132 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-06/0.007677, allocations: 0 / 0.8132 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.007696, allocations: 3.984 kB / 0.8132 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.361e-05/0.00771, allocations: 1.938 kB / 0.8132 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.007728, allocations: 0 / 0.8132 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.00774, allocations: 4 kB / 0.8132 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.755e-05/0.007808, allocations: 79.22 kB / 0.8133 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.7e-07/0.007808, allocations: 0 / 0.8133 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003673/0.008175, allocations: 8 kB / 0.8133 GB, free: 15.32 MB / 0.7761 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.0003375/0.008513, allocations: 117 kB / 0.8134 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.008615, allocations: 8.656 kB / 0.8134 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.008617, allocations: 4.656 kB / 0.8134 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-05/0.008631, allocations: 3.656 kB / 0.8134 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.008855, allocations: 2.406 kB / 0.8134 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.009154, allocations: 78.3 kB / 0.8135 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.632e-05/0.00924, allocations: 59.34 kB / 0.8136 GB, free: 15 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.964e-05/0.00926, allocations: 3.984 kB / 0.8136 GB, free: 15 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.088e-05/0.00929, allocations: 8.5 kB / 0.8136 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of SimCode: time 4.6e-07/0.009291, allocations: 0 / 0.8136 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of Templates: time 0.004665/0.01396, allocations: 424.1 kB / 0.814 GB, free: 14.59 MB / 0.7761 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.812965102959424]