Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009017/0.0009017, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001142/0.002043, allocations: 440 kB / 10.41 MB, free: 284 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.0007092/0.0007092, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009626/0.001672, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.029/1.029, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08554/1.114, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.455/2.455, allocations: 447.1 MB / 0.675 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2375/2.692, allocations: 146 MB / 0.8176 GB, free: 3.797 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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.8189 GB, free: 2.453 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.127e-06/1.06e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001635/0.001646, allocations: 1.549 MB / 0.8205 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0002075/0.001853, allocations: 135.6 kB / 0.8206 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.209e-05/0.001876, allocations: 0 / 0.8206 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 1.828e-05/0.001894, allocations: 3.938 kB / 0.8206 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.888e-05/0.001913, allocations: 3.938 kB / 0.8206 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.002096, allocations: 39.83 kB / 0.8206 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.307e-05/0.002149, allocations: 23.92 kB / 0.8206 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 6.642e-05/0.002215, allocations: 8 kB / 0.8207 GB, free: 0.6719 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.776e-05/0.002263, allocations: 15.98 kB / 0.8207 GB, free: 0.6562 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 2.713e-05/0.00229, allocations: 3.938 kB / 0.8207 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.002303, allocations: 4 kB / 0.8207 GB, free: 0.6484 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.002405, allocations: 43.89 kB / 0.8207 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.002417, allocations: 4 kB / 0.8207 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.32e-05/0.00243, allocations: 7.938 kB / 0.8207 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.002532, allocations: 31.89 kB / 0.8208 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/0.002543, allocations: 0 / 0.8208 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.51e-07/0.002543, allocations: 0 / 0.8208 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.002556, allocations: 0 / 0.8208 GB, free: 0.5625 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003344/0.002891, allocations: 248.6 kB / 0.821 GB, free: 300 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.827e-05/0.002919, allocations: 8.031 kB / 0.821 GB, free: 292 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.979e-05/0.002989, allocations: 82.05 kB / 0.8211 GB, free: 192 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.068e-05/0.003069, allocations: 109.7 kB / 0.8212 GB, free: 56 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.003078, allocations: 4.375 kB / 0.8212 GB, free: 52 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/0.003088, allocations: 384 / 0.8212 GB, free: 52 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.003196, allocations: 62.88 kB / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.082e-06/0.003202, allocations: 192 / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.003208, allocations: 384 / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.003213, allocations: 384 / 0.8213 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.806e-05/0.003231, allocations: 7.938 kB / 0.8213 GB, free: 15.97 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001674/0.003398, allocations: 152.2 kB / 0.8214 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.811e-05/0.003436, allocations: 26.52 kB / 0.8214 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.223e-05/0.003449, allocations: 8.922 kB / 0.8214 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.147e-05/0.00353, allocations: 16.03 kB / 0.8215 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.003549, allocations: 34.55 kB / 0.8215 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.003549, allocations: 0 / 0.8215 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001006/0.00365, allocations: 37.69 kB / 0.8215 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.52e-05/0.003675, allocations: 55.34 kB / 0.8216 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.457e-05/0.00372, allocations: 102.8 kB / 0.8217 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.003728, allocations: 33.7 kB / 0.8217 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.388e-05/0.003752, allocations: 92.06 kB / 0.8218 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.003767, allocations: 3.953 kB / 0.8218 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.975e-05/0.003786, allocations: 13.72 kB / 0.8218 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.377e-05/0.00385, allocations: 314.8 kB / 0.8221 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.981e-06/0.003856, allocations: 0 / 0.8221 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.442e-06/0.003863, allocations: 4 kB / 0.8221 GB, free: 15 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.651e-05/0.003879, allocations: 12.84 kB / 0.8221 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.00388, allocations: 0 / 0.8221 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.129e-05/0.003922, allocations: 37.77 kB / 0.8222 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.003933, allocations: 5.406 kB / 0.8222 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.003936, allocations: 0 / 0.8222 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.003947, allocations: 0 / 0.8222 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.724e-05/0.003994, allocations: 23.86 kB / 0.8222 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.245e-06/0.003996, allocations: 0 / 0.8222 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.263e-05/0.004009, allocations: 0 / 0.8222 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.905e-06/0.004012, allocations: 4 kB / 0.8222 GB, free: 14.91 MB / 0.8073 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 3.944e-05/0.004051, allocations: 109.8 kB / 0.8223 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.00407, allocations: 3.984 kB / 0.8223 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.107e-05/0.004121, allocations: 49.02 kB / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.004122, allocations: 0 / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.004126, allocations: 3.938 kB / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.004128, allocations: 0 / 0.8224 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.206e-05/0.0042, allocations: 65.86 kB / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.004201, allocations: 0 / 0.8224 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.986e-05/0.004221, allocations: 11.98 kB / 0.8224 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-06/0.004224, allocations: 0 / 0.8224 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.004225, allocations: 3.938 kB / 0.8224 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-06/0.004229, allocations: 4 kB / 0.8224 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.004229, allocations: 7.969 kB / 0.8224 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.004231, allocations: 7.938 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.568e-05/0.004297, allocations: 131.5 kB / 0.8226 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.274e-06/0.004304, allocations: 0 / 0.8226 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.757e-05/0.004331, allocations: 4 kB / 0.8226 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/0.004355, allocations: 3.984 kB / 0.8226 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-06/0.004357, allocations: 0 / 0.8226 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.058e-05/0.004367, allocations: 12.8 kB / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004367, allocations: 0 / 0.8226 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001205/0.004488, allocations: 11.94 kB / 0.8226 GB, free: 14.44 MB / 0.8073 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.000114/0.004602, allocations: 93.19 kB / 0.8227 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.726e-05/0.004649, allocations: 16.8 kB / 0.8227 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.004652, allocations: 0 / 0.8227 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.489e-05/0.004667, allocations: 8.859 kB / 0.8227 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.004793, allocations: 37.69 kB / 0.8228 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002771/0.00507, allocations: 112.9 kB / 0.8229 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.765e-05/0.005098, allocations: 55.22 kB / 0.8229 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.482e-05/0.005112, allocations: 3.984 kB / 0.8229 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/0.005279, allocations: 51.38 kB / 0.823 GB, free: 14 MB / 0.8073 GB Notification: Performance of SimCode: time 6.21e-07/0.005279, allocations: 0 / 0.823 GB, free: 14 MB / 0.8073 GB Notification: Performance of Templates: time 0.001912/0.007191, allocations: 0.7078 MB / 0.8237 GB, free: 13.3 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.248507308773696]