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.0008215/0.0008215, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009047/0.0009047, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.91/0.91, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.78/1.78, allocations: 377.8 MB / 0.6221 GB, free: 8.668 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.981 GB, free: 2.535 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.903e-05/2.06e-05, allocations: 5.094 kB / 0.981 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001068/0.001089, allocations: 0.6072 MB / 0.9816 GB, free: 1.926 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002892/0.001378, allocations: 95.59 kB / 0.9817 GB, free: 1.832 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.285e-05/0.001391, allocations: 0 / 0.9817 GB, free: 1.832 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 1.479e-05/0.001406, allocations: 0 / 0.9817 GB, free: 1.832 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.264e-06/0.001413, allocations: 0 / 0.9817 GB, free: 1.832 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.001754, allocations: 27.86 kB / 0.9817 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 4.083e-05/0.001795, allocations: 0 / 0.9817 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.703e-05/0.001832, allocations: 4 kB / 0.9817 GB, free: 1.801 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.234e-05/0.001854, allocations: 4 kB / 0.9817 GB, free: 1.797 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 1.629e-05/0.00187, allocations: 3.984 kB / 0.9817 GB, free: 1.793 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.001881, allocations: 0 / 0.9817 GB, free: 1.793 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.001999, allocations: 39.89 kB / 0.9818 GB, free: 1.754 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 9.348e-06/0.002008, allocations: 0 / 0.9818 GB, free: 1.754 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.262e-05/0.002021, allocations: 4 kB / 0.9818 GB, free: 1.75 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.937e-05/0.00212, allocations: 35.88 kB / 0.9818 GB, free: 1.715 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.002122, allocations: 0 / 0.9818 GB, free: 1.715 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.102e-06/0.002123, allocations: 0 / 0.9818 GB, free: 1.715 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.002127, allocations: 0 / 0.9818 GB, free: 1.715 MB / 0.9323 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.0002151/0.002342, allocations: 242.4 kB / 0.9821 GB, free: 1.445 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.002378, allocations: 15.97 kB / 0.9821 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.664e-05/0.002405, allocations: 30.75 kB / 0.9821 GB, free: 1.391 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.002443, allocations: 4.922 kB / 0.9821 GB, free: 1.387 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.332e-05/0.002496, allocations: 101.8 kB / 0.9822 GB, free: 1.262 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.002505, allocations: 384 / 0.9822 GB, free: 1.262 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-06/0.002512, allocations: 4.375 kB / 0.9822 GB, free: 1.258 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.371e-05/0.002586, allocations: 26.27 kB / 0.9822 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.002592, allocations: 192 / 0.9822 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.0026, allocations: 384 / 0.9822 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.002606, allocations: 8.109 kB / 0.9822 GB, free: 1.219 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.628e-05/0.002623, allocations: 11.94 kB / 0.9822 GB, free: 1.207 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.712e-05/0.00272, allocations: 116.8 kB / 0.9824 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.459e-05/0.002754, allocations: 22.59 kB / 0.9824 GB, free: 1.02 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.293e-05/0.002767, allocations: 4.859 kB / 0.9824 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001582/0.002926, allocations: 8.047 kB / 0.9824 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.002944, allocations: 34.56 kB / 0.9824 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 6.21e-07/0.002945, allocations: 0 / 0.9824 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001292/0.003074, allocations: 41.58 kB / 0.9825 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.003106, allocations: 55.34 kB / 0.9825 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.003282, allocations: 93.98 kB / 0.9826 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.003291, allocations: 25.7 kB / 0.9826 GB, free: 0.7148 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 1.695e-05/0.003308, allocations: 80.14 kB / 0.9827 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-05/0.003332, allocations: 0 / 0.9827 GB, free: 0.6328 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/0.003352, allocations: 13.72 kB / 0.9827 GB, free: 0.6133 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.339e-05/0.003426, allocations: 318.8 kB / 0.983 GB, free: 300 kB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.836e-06/0.003434, allocations: 0 / 0.983 GB, free: 300 kB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.099e-06/0.00344, allocations: 4 kB / 0.983 GB, free: 296 kB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.909e-05/0.003459, allocations: 4.859 kB / 0.983 GB, free: 288 kB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.00346, allocations: 3.938 kB / 0.983 GB, free: 284 kB / 0.9323 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.991e-05/0.0035, allocations: 37.77 kB / 0.9831 GB, free: 240 kB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.003511, allocations: 4 kB / 0.9831 GB, free: 236 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.003516, allocations: 0 / 0.9831 GB, free: 236 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.003526, allocations: 0 / 0.9831 GB, free: 236 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.214e-05/0.003558, allocations: 4 kB / 0.9831 GB, free: 232 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.003564, allocations: 7.922 kB / 0.9831 GB, free: 224 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.053e-06/0.003571, allocations: 0 / 0.9831 GB, free: 224 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.003575, allocations: 3.938 kB / 0.9831 GB, free: 220 kB / 0.9323 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.423e-05/0.003619, allocations: 109.8 kB / 0.9832 GB, free: 100 kB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-06/0.003628, allocations: 4 kB / 0.9832 GB, free: 96 kB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.348e-05/0.003682, allocations: 40.67 kB / 0.9832 GB, free: 52 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.003683, allocations: 0 / 0.9832 GB, free: 52 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.003688, allocations: 7.922 kB / 0.9832 GB, free: 44 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.00369, allocations: 0 / 0.9832 GB, free: 44 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.132e-05/0.003752, allocations: 112.8 kB / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.003753, allocations: 4 kB / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.65e-06/0.003758, allocations: 0 / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.00376, allocations: 0 / 0.9834 GB, free: 15.89 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.003766, allocations: 8 kB / 0.9834 GB, free: 15.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.003767, allocations: 0 / 0.9834 GB, free: 15.88 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.003769, allocations: 7.969 kB / 0.9834 GB, free: 15.87 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.448e-05/0.003813, allocations: 57.12 kB / 0.9834 GB, free: 15.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.346e-06/0.003817, allocations: 0 / 0.9834 GB, free: 15.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.674e-06/0.003824, allocations: 4 kB / 0.9834 GB, free: 15.79 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.457e-06/0.003828, allocations: 0 / 0.9834 GB, free: 15.79 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.003839, allocations: 7.875 kB / 0.9834 GB, free: 15.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-06/0.00384, allocations: 0 / 0.9834 GB, free: 15.79 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.699e-05/0.003857, allocations: 75.28 kB / 0.9835 GB, free: 15.71 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.003857, allocations: 0 / 0.9835 GB, free: 15.71 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001371/0.003994, allocations: 15.92 kB / 0.9835 GB, free: 15.7 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 (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.0002661/0.00426, allocations: 0.6085 MB / 0.9841 GB, free: 15.06 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.186e-05/0.004312, allocations: 4 kB / 0.9841 GB, free: 15.05 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.004314, allocations: 0 / 0.9841 GB, free: 15.05 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.91e-06/0.004319, allocations: 7.938 kB / 0.9841 GB, free: 15.05 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.237e-05/0.004412, allocations: 7.938 kB / 0.9841 GB, free: 15.04 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002102/0.004622, allocations: 106.8 kB / 0.9842 GB, free: 14.89 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.9e-05/0.004651, allocations: 63.22 kB / 0.9843 GB, free: 14.81 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.414e-06/0.004658, allocations: 0 / 0.9843 GB, free: 14.81 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.517e-05/0.004673, allocations: 8.5 kB / 0.9843 GB, free: 14.8 MB / 0.948 GB Notification: Performance of SimCode: time 2.91e-07/0.004674, allocations: 3.938 kB / 0.9843 GB, free: 14.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01451/0.01918, allocations: 1.779 MB / 0.9861 GB, free: 13.15 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.799/6.818, allocations: 1.719 kB / 0.9861 GB, free: 13.15 MB / 0.948 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --stepSize=0.001196 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 420.0] 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: 10.869914419017732]