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.0008394/0.0008394, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0008133/0.0008133, allocations: 173.9 kB / 23.21 MB, free: 1.352 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 0.923/0.923, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.719/1.719, allocations: 377.9 MB / 0.6229 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] 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.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 1.353e-06/1.353e-06, allocations: 0 / 0.9822 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.244e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.094 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001691/0.001713, allocations: 1.451 MB / 0.9836 GB, free: 0.6367 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0003149/0.002028, allocations: 159.3 kB / 0.9838 GB, free: 492 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.439e-05/0.002052, allocations: 4 kB / 0.9838 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.002077, allocations: 0 / 0.9838 GB, free: 488 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.719e-05/0.002114, allocations: 7.922 kB / 0.9838 GB, free: 480 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.002419, allocations: 35.91 kB / 0.9838 GB, free: 444 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.353e-05/0.002473, allocations: 19.92 kB / 0.9838 GB, free: 424 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 7.772e-05/0.00255, allocations: 11.94 kB / 0.9838 GB, free: 412 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.189e-05/0.002582, allocations: 15.97 kB / 0.9839 GB, free: 396 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.079e-05/0.002613, allocations: 7.938 kB / 0.9839 GB, free: 388 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.002625, allocations: 0 / 0.9839 GB, free: 388 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.002725, allocations: 43.89 kB / 0.9839 GB, free: 344 kB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.002736, allocations: 4 kB / 0.9839 GB, free: 340 kB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.612e-05/0.002752, allocations: 4 kB / 0.9839 GB, free: 336 kB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.00287, allocations: 55.86 kB / 0.984 GB, free: 280 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.002871, allocations: 0 / 0.984 GB, free: 280 kB / 0.9323 GB Notification: Performance of FrontEnd: time 8.02e-07/0.002872, allocations: 0 / 0.984 GB, free: 280 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.002877, allocations: 7.922 kB / 0.984 GB, free: 272 kB / 0.9323 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.0003373/0.003214, allocations: 274.2 kB / 0.9842 GB, free: 15.96 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.003248, allocations: 8.031 kB / 0.9842 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.003293, allocations: 4.891 kB / 0.9842 GB, free: 15.95 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.228e-05/0.003365, allocations: 109.8 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.578e-06/0.003375, allocations: 4.375 kB / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.003383, allocations: 384 / 0.9844 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.003497, allocations: 50.23 kB / 0.9844 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.003503, allocations: 192 / 0.9844 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.003512, allocations: 4.375 kB / 0.9844 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.003516, allocations: 384 / 0.9844 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.459e-05/0.003601, allocations: 35.89 kB / 0.9844 GB, free: 15.72 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.003828, allocations: 192.6 kB / 0.9846 GB, free: 15.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.392e-05/0.003902, allocations: 38.56 kB / 0.9847 GB, free: 15.46 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.928e-05/0.003951, allocations: 28.83 kB / 0.9847 GB, free: 15.43 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.004053, allocations: 11.98 kB / 0.9847 GB, free: 15.41 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.686e-05/0.00407, allocations: 30.56 kB / 0.9847 GB, free: 15.38 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.004071, allocations: 0 / 0.9847 GB, free: 15.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002158/0.004286, allocations: 93.52 kB / 0.9848 GB, free: 15.28 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.004313, allocations: 51.41 kB / 0.9849 GB, free: 15.21 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5e-05/0.004363, allocations: 101.8 kB / 0.985 GB, free: 15.11 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.004372, allocations: 25.7 kB / 0.985 GB, free: 15.07 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.027e-05/0.004402, allocations: 88.12 kB / 0.9851 GB, free: 14.98 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.004417, allocations: 7.891 kB / 0.9851 GB, free: 14.98 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/0.00444, allocations: 17.7 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.728e-05/0.004507, allocations: 314.8 kB / 0.9854 GB, free: 14.64 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.793e-05/0.004545, allocations: 15.98 kB / 0.9854 GB, free: 14.62 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.351e-05/0.004579, allocations: 20.11 kB / 0.9854 GB, free: 14.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.167e-05/0.00465, allocations: 40.81 kB / 0.9855 GB, free: 14.56 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.004652, allocations: 0 / 0.9855 GB, free: 14.56 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001064/0.004758, allocations: 69.55 kB / 0.9855 GB, free: 14.48 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.004772, allocations: 8 kB / 0.9855 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.00478, allocations: 8.031 kB / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.004792, allocations: 0 / 0.9856 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.418e-05/0.004846, allocations: 4 kB / 0.9856 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.84e-06/0.004851, allocations: 4 kB / 0.9856 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.57e-05/0.004877, allocations: 7.984 kB / 0.9856 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.004882, allocations: 0 / 0.9856 GB, free: 14.45 MB / 0.948 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 5.681e-05/0.004938, allocations: 109.8 kB / 0.9857 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.004957, allocations: 4 kB / 0.9857 GB, free: 14.33 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/0.005089, allocations: 80.83 kB / 0.9858 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.005091, allocations: 0 / 0.9858 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.005096, allocations: 0 / 0.9858 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.0051, allocations: 0 / 0.9858 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.786e-05/0.005188, allocations: 101.3 kB / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.005189, allocations: 4 kB / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.396e-05/0.005213, allocations: 7.984 kB / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.005214, allocations: 0 / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.00522, allocations: 0 / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.005222, allocations: 3.938 kB / 0.9859 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.005225, allocations: 8.031 kB / 0.9859 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.005354, allocations: 159.5 kB / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.171e-06/0.00536, allocations: 7.891 kB / 0.986 GB, free: 13.92 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.005373, allocations: 7.984 kB / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.63e-05/0.005409, allocations: 7.938 kB / 0.9861 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.005441, allocations: 0 / 0.9861 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.005444, allocations: 15.86 kB / 0.9861 GB, free: 13.89 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.486e-05/0.005469, allocations: 79.28 kB / 0.9861 GB, free: 13.81 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005469, allocations: 4.031 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001569/0.005626, allocations: 15.94 kB / 0.9862 GB, free: 13.79 MB / 0.948 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.0001431/0.005769, allocations: 111.7 kB / 0.9863 GB, free: 13.67 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.005887, allocations: 31.97 kB / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.005888, allocations: 0 / 0.9863 GB, free: 13.64 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.968e-05/0.005928, allocations: 24.03 kB / 0.9863 GB, free: 13.62 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.006099, allocations: 4 kB / 0.9863 GB, free: 13.61 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002131/0.006312, allocations: 134.6 kB / 0.9865 GB, free: 13.45 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.92e-05/0.006351, allocations: 59.36 kB / 0.9865 GB, free: 13.37 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.732e-05/0.006369, allocations: 8.5 kB / 0.9865 GB, free: 13.36 MB / 0.948 GB Notification: Performance of SimCode: time 3.61e-07/0.006369, allocations: 0 / 0.9865 GB, free: 13.36 MB / 0.948 GB Notification: Performance of Templates: time 0.001589/0.007958, allocations: 0.7887 MB / 0.9873 GB, free: 12.57 MB / 0.948 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.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: 6.8599593890830874]