Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001354/0.001354, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002585/0.003939, allocations: 449.8 kB / 10.44 MB, free: 252 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.001409/0.001409, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00202/0.00343, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.031/1.031, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1079/1.139, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.858/1.858, allocations: 378.4 MB / 0.6079 GB, free: 7.719 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5302/2.388, allocations: 123.3 MB / 0.7283 GB, free: 5.758 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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.7297 GB, free: 4.422 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.699e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.418 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002629/0.002656, allocations: 1.549 MB / 0.7312 GB, free: 2.891 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002993/0.002955, allocations: 154.2 kB / 0.7313 GB, free: 2.742 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.002986, allocations: 4.984 kB / 0.7313 GB, free: 2.738 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.542e-05/0.003011, allocations: 0 / 0.7313 GB, free: 2.738 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.147e-05/0.003043, allocations: 6.141 kB / 0.7313 GB, free: 2.734 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002867/0.00333, allocations: 41.38 kB / 0.7314 GB, free: 2.695 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.527e-05/0.003415, allocations: 24.75 kB / 0.7314 GB, free: 2.676 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.987e-05/0.003505, allocations: 8.641 kB / 0.7314 GB, free: 2.668 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.79e-05/0.003563, allocations: 13.42 kB / 0.7314 GB, free: 2.656 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.257e-05/0.003615, allocations: 9.547 kB / 0.7314 GB, free: 2.648 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.003631, allocations: 4 kB / 0.7314 GB, free: 2.645 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.003791, allocations: 43.08 kB / 0.7315 GB, free: 2.605 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.003812, allocations: 4.984 kB / 0.7315 GB, free: 2.602 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.835e-05/0.00383, allocations: 4.875 kB / 0.7315 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.003971, allocations: 42.25 kB / 0.7315 GB, free: 2.559 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.457e-05/0.003985, allocations: 2.75 kB / 0.7315 GB, free: 2.559 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.243e-06/0.003987, allocations: 0 / 0.7315 GB, free: 2.559 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.004, allocations: 0 / 0.7315 GB, free: 2.559 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004526/0.004453, allocations: 244.6 kB / 0.7318 GB, free: 2.293 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.004494, allocations: 8.031 kB / 0.7318 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.199e-05/0.004586, allocations: 82.81 kB / 0.7318 GB, free: 2.188 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.004689, allocations: 109.7 kB / 0.732 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.004701, allocations: 0.875 kB / 0.732 GB, free: 2.055 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.659e-06/0.00471, allocations: 6.094 kB / 0.732 GB, free: 2.051 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.004834, allocations: 54.94 kB / 0.732 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.004842, allocations: 192 / 0.732 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.00485, allocations: 384 / 0.732 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.004856, allocations: 1.031 kB / 0.732 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.27e-05/0.004879, allocations: 12.69 kB / 0.732 GB, free: 1.977 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002539/0.005132, allocations: 148.3 kB / 0.7322 GB, free: 1.816 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.578e-05/0.005188, allocations: 20.33 kB / 0.7322 GB, free: 1.789 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.429e-05/0.005203, allocations: 4.859 kB / 0.7322 GB, free: 1.781 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.005321, allocations: 12.09 kB / 0.7322 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.005351, allocations: 35.22 kB / 0.7322 GB, free: 1.727 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.005352, allocations: 1.75 kB / 0.7322 GB, free: 1.727 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001525/0.005504, allocations: 37.64 kB / 0.7323 GB, free: 1.684 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.005543, allocations: 59.33 kB / 0.7323 GB, free: 1.613 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.005883, allocations: 103.9 kB / 0.7324 GB, free: 1.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.005898, allocations: 25.7 kB / 0.7325 GB, free: 1.469 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.972e-05/0.005938, allocations: 92.83 kB / 0.7325 GB, free: 1.375 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.005962, allocations: 3.953 kB / 0.7325 GB, free: 1.371 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.005992, allocations: 18.36 kB / 0.7326 GB, free: 1.348 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.838e-05/0.00609, allocations: 316 kB / 0.7329 GB, free: 1.031 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.053e-05/0.006101, allocations: 0 / 0.7329 GB, free: 1.031 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.119e-05/0.006112, allocations: 4 kB / 0.7329 GB, free: 1.027 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.911e-05/0.006141, allocations: 13.36 kB / 0.7329 GB, free: 1.012 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.006144, allocations: 1.547 kB / 0.7329 GB, free: 1.012 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.711e-05/0.006231, allocations: 38.31 kB / 0.7329 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.006247, allocations: 6.812 kB / 0.7329 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.006253, allocations: 0.8125 kB / 0.7329 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.006268, allocations: 0 / 0.7329 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.328e-05/0.006351, allocations: 16.83 kB / 0.7329 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.006357, allocations: 4 kB / 0.7329 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.702e-05/0.006374, allocations: 1.953 kB / 0.7329 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.006379, allocations: 0 / 0.7329 GB, free: 0.9453 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 (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 6.937e-05/0.006448, allocations: 113.8 kB / 0.7331 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.00649, allocations: 0.9375 kB / 0.7331 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.006591, allocations: 52.89 kB / 0.7331 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.006593, allocations: 1.125 kB / 0.7331 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.006596, allocations: 3.938 kB / 0.7331 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.0066, allocations: 0.5469 kB / 0.7331 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.351e-05/0.006693, allocations: 67.58 kB / 0.7332 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.006694, allocations: 0 / 0.7332 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.604e-05/0.00672, allocations: 4 kB / 0.7332 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-06/0.006728, allocations: 7.984 kB / 0.7332 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.00673, allocations: 1.75 kB / 0.7332 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.006735, allocations: 192 / 0.7332 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.006737, allocations: 1.25 kB / 0.7332 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.006739, allocations: 3.938 kB / 0.7332 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.995e-05/0.006839, allocations: 139.5 kB / 0.7333 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.257e-06/0.006848, allocations: 1.25 kB / 0.7333 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.781e-05/0.006876, allocations: 0 / 0.7333 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.006914, allocations: 8 kB / 0.7333 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.006917, allocations: 2.125 kB / 0.7333 GB, free: 0.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.661e-05/0.006934, allocations: 16.78 kB / 0.7334 GB, free: 492 kB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.006934, allocations: 0 / 0.7334 GB, free: 492 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001577/0.007091, allocations: 11.94 kB / 0.7334 GB, free: 480 kB / 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 (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.0001718/0.007263, allocations: 95.39 kB / 0.7335 GB, free: 376 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.765e-05/0.007341, allocations: 13.84 kB / 0.7335 GB, free: 360 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.007346, allocations: 0 / 0.7335 GB, free: 360 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.401e-05/0.00737, allocations: 10.45 kB / 0.7335 GB, free: 348 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.007554, allocations: 38.91 kB / 0.7335 GB, free: 304 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.007995, allocations: 105.4 kB / 0.7336 GB, free: 172 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.344e-05/0.008028, allocations: 55.36 kB / 0.7337 GB, free: 96 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.946e-05/0.008047, allocations: 0.75 kB / 0.7337 GB, free: 96 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.133e-05/0.008099, allocations: 56.03 kB / 0.7337 GB, free: 40 kB / 0.698 GB Notification: Performance of SimCode: time 1.142e-06/0.0081, allocations: 1.531 kB / 0.7337 GB, free: 40 kB / 0.698 GB Notification: Performance of Templates: time 0.00264/0.01074, allocations: 0.7218 MB / 0.7344 GB, free: 15.35 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1/Buildings_12_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: 4.855150108225644]