Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001913/0.001913, allocations: 114.5 kB / 18.94 MB, free: 2.957 MB / 14.72 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.003004/0.003004, allocations: 216 kB / 22.25 MB, free: 5.117 MB / 14.72 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.579/1.579, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.549/3.549, allocations: 0.505 GB / 0.8101 GB, free: 22.09 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.42 kB / 1.177 GB, free: 17.13 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3885, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.002105/0.3906, allocations: 0.586 MB / 1.353 GB, free: 7.871 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004201/0.391, allocations: 100 kB / 1.354 GB, free: 7.773 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.693e-05/0.391, allocations: 4 kB / 1.354 GB, free: 7.77 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.391, allocations: 0 / 1.354 GB, free: 7.77 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.412e-06/0.391, allocations: 0 / 1.354 GB, free: 7.77 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003778/0.3914, allocations: 31.91 kB / 1.354 GB, free: 7.738 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 4.064e-05/0.3914, allocations: 0 / 1.354 GB, free: 7.738 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.209e-05/0.3915, allocations: 7.984 kB / 1.354 GB, free: 7.73 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 1.311e-05/0.3915, allocations: 0 / 1.354 GB, free: 7.73 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 1.69e-05/0.3915, allocations: 0 / 1.354 GB, free: 7.73 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.778e-06/0.3915, allocations: 0 / 1.354 GB, free: 7.73 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.3917, allocations: 39.89 kB / 1.354 GB, free: 7.691 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 9.097e-06/0.3917, allocations: 4 kB / 1.354 GB, free: 7.688 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.3917, allocations: 4 kB / 1.354 GB, free: 7.684 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.3918, allocations: 28.12 kB / 1.354 GB, free: 7.656 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3918, allocations: 0 / 1.354 GB, free: 7.656 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3918, allocations: 0 / 1.354 GB, free: 7.656 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.3919, allocations: 0 / 1.354 GB, free: 7.656 MB / 1.045 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.0003189/0.3922, allocations: 242.4 kB / 1.354 GB, free: 7.387 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.3922, allocations: 12.03 kB / 1.354 GB, free: 7.375 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.3923, allocations: 30.75 kB / 1.354 GB, free: 7.336 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.866e-05/0.3923, allocations: 0.9375 kB / 1.354 GB, free: 7.336 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.919e-05/0.3924, allocations: 110.5 kB / 1.354 GB, free: 7.203 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.3924, allocations: 384 / 1.354 GB, free: 7.203 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.3924, allocations: 384 / 1.354 GB, free: 7.203 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.377e-05/0.3925, allocations: 30.27 kB / 1.354 GB, free: 7.168 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3925, allocations: 3.938 kB / 1.354 GB, free: 7.164 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.3925, allocations: 3.984 kB / 1.354 GB, free: 7.16 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3925, allocations: 3.984 kB / 1.354 GB, free: 7.156 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.199e-05/0.3926, allocations: 8 kB / 1.354 GB, free: 7.148 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.3927, allocations: 112.8 kB / 1.354 GB, free: 6.996 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.61e-05/0.3927, allocations: 26.45 kB / 1.354 GB, free: 6.961 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/0.3928, allocations: 8.953 kB / 1.354 GB, free: 6.949 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001918/0.393, allocations: 11.98 kB / 1.354 GB, free: 6.938 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.393, allocations: 34.56 kB / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.393, allocations: 0 / 1.354 GB, free: 6.895 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.000176/0.3932, allocations: 37.62 kB / 1.354 GB, free: 6.852 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.3932, allocations: 55.53 kB / 1.354 GB, free: 6.785 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.968e-05/0.3933, allocations: 89.86 kB / 1.354 GB, free: 6.688 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.3933, allocations: 25.7 kB / 1.354 GB, free: 6.656 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.327e-05/0.3933, allocations: 84.14 kB / 1.355 GB, free: 6.57 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.3933, allocations: 7.953 kB / 1.355 GB, free: 6.562 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.3934, allocations: 13.66 kB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.3935, allocations: 310.8 kB / 1.355 GB, free: 6.23 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.189e-05/0.3935, allocations: 4 kB / 1.355 GB, free: 6.227 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.613e-06/0.3935, allocations: 4 kB / 1.355 GB, free: 6.223 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.776e-05/0.3936, allocations: 8.859 kB / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3936, allocations: 0 / 1.355 GB, free: 6.211 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.251e-05/0.3936, allocations: 41.62 kB / 1.355 GB, free: 6.164 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.3937, allocations: 6.031 kB / 1.355 GB, free: 6.16 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3937, allocations: 3.938 kB / 1.355 GB, free: 6.156 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3937, allocations: 0 / 1.355 GB, free: 6.156 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.966e-05/0.3937, allocations: 4 kB / 1.355 GB, free: 6.152 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3937, allocations: 3.938 kB / 1.355 GB, free: 6.148 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.008e-05/0.3937, allocations: 4.094 kB / 1.355 GB, free: 6.145 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.3937, allocations: 0 / 1.355 GB, free: 6.145 MB / 1.045 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 7.894e-05/0.3938, allocations: 114.4 kB / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.3938, allocations: 0 / 1.355 GB, free: 6.023 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.943e-05/0.3939, allocations: 44.61 kB / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3939, allocations: 0 / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3939, allocations: 0 / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.3939, allocations: 0 / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.394, allocations: 120.8 kB / 1.355 GB, free: 5.812 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.394, allocations: 7.984 kB / 1.355 GB, free: 5.805 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.437e-05/0.3941, allocations: 0 / 1.355 GB, free: 5.805 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3941, allocations: 0 / 1.355 GB, free: 5.805 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.3941, allocations: 3.938 kB / 1.355 GB, free: 5.801 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3941, allocations: 0 / 1.355 GB, free: 5.801 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3941, allocations: 0 / 1.355 GB, free: 5.801 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.91e-05/0.3942, allocations: 61.08 kB / 1.355 GB, free: 5.723 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-06/0.3942, allocations: 8.016 kB / 1.355 GB, free: 5.715 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.3942, allocations: 3.938 kB / 1.355 GB, free: 5.711 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.002e-05/0.3942, allocations: 4 kB / 1.355 GB, free: 5.707 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.678e-06/0.3942, allocations: 3.938 kB / 1.355 GB, free: 5.703 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.3942, allocations: 0 / 1.355 GB, free: 5.703 MB / 1.045 GB Notification: Performance of sorting global known variables: time 3.196e-05/0.3942, allocations: 75.28 kB / 1.355 GB, free: 5.629 MB / 1.045 GB Notification: Performance of sort global known variables: time 6e-08/0.3942, allocations: 0 / 1.355 GB, free: 5.629 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002183/0.3945, allocations: 4 kB / 1.355 GB, free: 5.625 MB / 1.045 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.0004821/0.3949, allocations: 0.6129 MB / 1.356 GB, free: 4.98 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.297e-05/0.395, allocations: 7.984 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.395, allocations: 0 / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.375e-06/0.395, allocations: 4.094 kB / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.3952, allocations: 7.938 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/0.3955, allocations: 102.6 kB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.3958, allocations: 0.6729 MB / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.074e-05/0.3958, allocations: 0 / 1.357 GB, free: 4.121 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.557e-05/0.3958, allocations: 7.438 kB / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of SimCode: time 6.51e-07/0.3958, allocations: 0 / 1.357 GB, free: 4.117 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03027/0.4261, allocations: 1.235 MB / 1.358 GB, free: 3.012 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.46, allocations: 6.266 kB / 1.358 GB, free: 3.012 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --stepSize=0.001196 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.923941812943667]